From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDE26C43461 for ; Thu, 20 May 2021 07:22:27 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A4D23610CB for ; Thu, 20 May 2021 07:22:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4D23610CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FwNOJX/8d3fnVKZnAvhUCwNvjSlD+QChZyMj+l1ZhuY=; b=R1O6g5uGUPlKUqrns5KOOhGWR Gu82yo/D+IUnkN716zTUAtdYynedhCaLyvLSl3tpaRKw8GybLe2jflMPaihzZu60Ma6ruWLhRmnCW smn4pOO9XV508HTaNAAqN+InAjD1oblpeNM2VbXKQr63NYQn+Bw+OzN1YNj2vV8mEEL39EWofoUbp OpWTXwnH9v234P2aWW/slMmMWtZzqZcqKx/GYPU883PaOcm3Iaz4y6W7qTxiKdrf/eAzKaNMkaEvl ePtw0IyMhVHOs66IWz5hzKPNetH4YNQkeTfUnLwJkXvQ4S3JApsMHCb6hi0si5s+ZQdd8+4ztCyhh F9mg7QcEA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljcyP-0067AU-Si; Thu, 20 May 2021 07:20:02 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljcxs-00675g-6d for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 07:19:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=2tKWC8uM5dwjircpT5uIqculoJ5cco4tBdrV4sJoSvA=; b=MzEOi/y3kvpbX4/UWQ4MqFvkMr QMO1EGB/cMUTK9sQPcSA0tUyRcL+Rn8DG4YRwl4G/kwV0kiJGbHiDcezJAz9/IL/rMx7cSsJu3VDK Tq3tmScrI/q0RqCFHZZI/ZDxEpk07HUOqUWqxTu0kMlEwpx9UyFt+a6r2WnwsI2TWB1OeMiJ0aFaK cB9Dick+kB0iJYHtodnuxeu84DZDVFE1YG7j3q4scOs+AmoQZHfxaqsMLhr4oh0teKB3YQH1CLy91 +ocYVh+cYHQccwOYJmN2BtqHcHpxospbiy1Dq+4dRTN1zPoiTKsdL4LAA+292PC8N2gO2VGToIhzB 6qdTBZlw==; Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljcxo-00G1Z7-SA for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 07:19:27 +0000 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fm1H91xKvzqV4S; Thu, 20 May 2021 15:15:49 +0800 (CST) Received: from dggpemm500004.china.huawei.com (7.185.36.219) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 20 May 2021 15:19:19 +0800 Received: from huawei.com (10.174.28.241) by dggpemm500004.china.huawei.com (7.185.36.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 20 May 2021 15:19:19 +0800 From: Bixuan Cui To: , CC: , , , , , , Subject: [PATCH -next 3/3] iommu/arm-smmu-v3: Prefer unsigned int to bare use of unsigned Date: Thu, 20 May 2021 16:42:20 +0800 Message-ID: <20210520084220.51684-4-cuibixuan@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210520084220.51684-1-cuibixuan@huawei.com> References: <20210520084220.51684-1-cuibixuan@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.28.241] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500004.china.huawei.com (7.185.36.219) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_001925_092394_8410E930 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix checkpatch warning in arm-smmu-v3.c: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Bixuan Cui --- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c index 51ce44fe550c..725b099d0652 100644 --- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c @@ -1827,7 +1827,7 @@ static bool arm_smmu_capable(enum iommu_cap cap) } } -static struct iommu_domain *arm_smmu_domain_alloc(unsigned type) +static struct iommu_domain *arm_smmu_domain_alloc(unsigned int type) { struct arm_smmu_domain *smmu_domain; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel