Skip to contentSkip to conversation

drivers: edac 'unsigned int' to bare use of 'unsigned'

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 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:2112: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-byC: 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 ddb9bf3..62b7611 100644
@@ -2109,7 +2109,7 @@ static int ddr2_cs_size(unsigned i, bool dct_width)
 }
 
 static int k8_dbam_to_chip_select(struct amd64_pvt *pvt, u8 dct,
-                  unsigned cs_mode, int cs_mask_nr)
+                  unsigned int  cs_mode, int cs_mask_nr)
 {
     u32 dclr = dct ? pvt->dclr1 : pvt->dclr0;