diff options
| author | Thierry Reding <[email protected]> | 2015-03-20 12:41:25 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2015-04-14 05:47:48 +0200 |
| commit | ec5e78cf8ac3a1bbf692698112ae15982d2bbf1b (patch) | |
| tree | ae3d1f8d6d7c82660efe4bc2eceb5d3d53ab963d | |
| parent | 96df9c7e94b0803f3dd1522cf89f1294c2dadeb5 (diff) | |
usb: mass-storage: Build warning fixes for 64-bit
Fix a printf format mismatch warning seen on 64-bit builds.
Cc: Ćukasz Majewski <[email protected]>
Cc: Marek Vasut <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
Tested-by: Lukasz Majewski <[email protected]>
Reviewed-by: Lukasz Majewski <[email protected]>
| -rw-r--r-- | drivers/usb/gadget/f_mass_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c index e045957d072..71fd49db7f2 100644 --- a/drivers/usb/gadget/f_mass_storage.c +++ b/drivers/usb/gadget/f_mass_storage.c @@ -973,7 +973,7 @@ static int do_write(struct fsg_common *common) /* If an error occurred, report it and its position */ if (nwritten < amount) { - printf("nwritten:%d amount:%d\n", nwritten, + printf("nwritten:%zd amount:%u\n", nwritten, amount); curlun->sense_data = SS_WRITE_ERROR; curlun->info_valid = 1; |
