Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2130149pxj; Thu, 20 May 2021 00:21:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVVt4Y/i9bIyUDOLk0ebSyWT7C1YxoXLWafOkJGG8feDNBnGR3BoUgh5djC56xIkUQT278 X-Received: by 2002:a05:6e02:5b0:: with SMTP id k16mr2965938ils.293.1621495315401; Thu, 20 May 2021 00:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621495315; cv=none; d=google.com; s=arc-20160816; b=PE6IUXX96bcWtOKHdMBbFhfdvTlgm2gSAHl+5SmWekImZ3mYqJd5nJc8U/xYnFy5yi 7Ahz7bkV24EHi7cXAXBmwannRQ+3fkwirtqlRnPlvFjprNE6UbjipwbpA/xuF7GDrdqM E1fP8BxozGYhYFEu8x8KuOL2/YwtucB1LLayvNBKFap2XnFfaUwk1YqJgQbqmJl3csxg 4TyE721gTtJxlZllucVRqlAKRKtCK6kgT0aFUxDXBSLIvNVdOySZXc5ryo5eVwiJyrWe ooZwBQaTr93PWyKPirw7YWbrk5rLUqtUuhYaZucD+uFaEmSqI9woiwJH8fPaXyznBjwM ZGeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2tKWC8uM5dwjircpT5uIqculoJ5cco4tBdrV4sJoSvA=; b=NtLwD1JEvcMgvXllTqJ0mJfQQUq5ykmu3WUwLlgCyO8BUkJHEonzCIKUWtKrfVPvC2 Vk0kyDu1qazQt0Kp2o2fjJYOZGM8V4FXV6pQIWJK4OsYQgFApQQNDz1KB3jokR1I2Kyd k8s4bdblAjrUUV2pwVnjYBaR6F9YUiRcnjGyKfX9dOIP+K3o3XKS2sa8qOBjFx4S5EfO QAZ+VLHIiA0+wiNSB/7PU4MRYoP11kei345owhp1xklcCZylHOALdhPvhiotojE1YuS7 yWlaf2jDmrkOsju578prXh3pJSbfX5R5p9gfFwFHsWaoJwFN7XdwKI7qMLo4r6Fw45tF moJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k43si1646961jav.84.2021.05.20.00.21.42; Thu, 20 May 2021 00:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230525AbhETHUn (ORCPT + 99 others); Thu, 20 May 2021 03:20:43 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4764 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230505AbhETHUm (ORCPT ); Thu, 20 May 2021 03:20:42 -0400 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 Content-Type: text/plain 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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