* [PATCH] rivers: edac Change 'unsigned' to 'unsigned int'
[not found] <tencent_2B68DB16B103727E0949749158313DF42F05@qq.com>
@ 2023-07-14 3:13 ` hanyu001
0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-14 3:13 UTC (permalink / raw)
To: yazen.ghannam, bp, tony.luck, james.morse, mchehab, rric
Cc: linux-edac, linux-kernel
Fixes checkpatch.pl warning:
./drivers/edac/amd64_edac.c:2099: WARNING: Prefer 'unsigned int' to bare
use of 'unsigned'
Signed-off-by: maqimei <2433033762@qq.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 5d2c9bb..d99828d 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2096,7 +2096,7 @@ static void k8_map_sysaddr_to_csrow(struct
mem_ctl_info *mci, u64 sys_addr,
static int ddr2_cs_size(unsigned int i, bool dct_width)
{
- unsigned shift = 0;
+ unsigned int shift = 0;
if (i <= 2)
shift = i;
^ permalink raw reply [flat|nested] only message in thread