[<prev] [next>] [day] [month] [year] [list]
Message-ID: <56065773c390ef4f6575bda9b855a63a@208suo.com>
Date: Fri, 14 Jul 2023 10:50:13 +0800
From: hanyu001@...suo.com
To: yazen.ghannam@....com, bp@...en8.de, tony.luck@...el.com,
james.morse@....com, mchehab@...nel.org
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drivers: edac 'unsigned int' to bare use of 'unsigned'
Use of 'unsigned int' instead of bare use of 'unsigned'. Fix this for
edac_mc*, ghes and the i5100 driver as reported by checkpatch.pl.
drivers/edac/amd64_edac.c:2097: WARNING: Prefer 'unsigned int' to bare
use of 'unsigned'
Signed-off-by: maqimei <2433033762@...com>
---
drivers/edac/amd64_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 62b7611..5d2c9bb 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2094,7 +2094,7 @@ static void k8_map_sysaddr_to_csrow(struct
mem_ctl_info *mci, u64 sys_addr,
}
}
-static int ddr2_cs_size(unsigned i, bool dct_width)
+static int ddr2_cs_size(unsigned int i, bool dct_width)
{
unsigned shift = 0;
Powered by blists - more mailing lists