Skip to contentSkip to conversation

rivers: edac Change 'unsigned' to 'unsigned int'

PATCH New [email protected] 1 participant 1 message Jul 14, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 rivers: edac Change 'unsigned' to 'unsigned int'

Fixes checkpatch.pl warning:

./drivers/edac/amd64_edac.c:2099: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

---
 drivers/edac/amd64_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/edac/amd64_edac.c +1 -1
index 5d2c9bb..d99828d 100644
@@ -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;