mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
i5100_edac: Fix a warning when compiled with 32 bits
drivers/edac/i5100_edac.c: In function ‘i5100_init_csrows’: drivers/edac/i5100_edac.c:862:3: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 5 has type ‘long unsigned int’ [-Wformat] Reviewed-by: Aristeu Rozanski <[email protected]> Cc: "Niklas Söderlund" <[email protected]> Cc: Borislav Petkov <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
36683aab90
commit
9f70d08a4c
1 changed files with 2 additions and 2 deletions
|
|
@ -859,8 +859,8 @@ static void __devinit i5100_init_csrows(struct mem_ctl_info *mci)
|
|||
i5100_rank_to_slot(mci, chan, rank));
|
||||
}
|
||||
|
||||
debugf2("dimm channel %d, rank %d, size %zd\n",
|
||||
chan, rank, PAGES_TO_MiB(npages));
|
||||
debugf2("dimm channel %d, rank %d, size %ld\n",
|
||||
chan, rank, (long)PAGES_TO_MiB(npages));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue