
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
In message 1323939415-21743-2-git-send-email-andreas.devel@googlemail.com you wrote:
From: Andreas Bießmann biessmann@corscience.de
size_t is not always 'unsigned int', use corret length modifer.
This patch fixes following warning:
---8<--- cmd_sf.c: In function 'spi_flash_update_block': cmd_sf.c:130: warning: format '%#x' expects type 'unsigend int', but argument 4 has type 'size_t' cmd_sf.c:135: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'size_t' --->8---
Signed-off-by: Andreas Bießmann biessmann@corscience.de cc: Mike Frysinger vapier@gentoo.org cc: Thomas Chou thomas@wytron.com.tw
changes since v1: split off into single patches
total: 0 errors, 0 warnings, 14 lines checked
NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE
0001-cmd_sf.c-fix-printf-length-modifier.patch has no obvious style problems and is ready for submission.
common/cmd_sf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Applied to "next" branch, thanks.
Best regards,
Wolfgang Denk