drivers: edac 'unsigned int' to bare use of 'unsigned'
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
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:2097: WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by maqimei <[email protected]>
--- drivers/edac/amd64_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/edac/amd64_edac.c +1 -1
@@ -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 ;