aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJulien BOIBESSOT <[email protected]>2017-12-05 15:09:04 +0000
committerGreg Kroah-Hartman <[email protected]>2017-12-08 16:31:20 +0000
commit82a2b827c96883d8b39a58bba23d222d6b0de7ff (patch)
tree308c7e3981659127cd99cc61c1e135adbde162fc /fs/jbd2/commit.c
parentUSB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID (diff)
downloadkernel-82a2b827c96883d8b39a58bba23d222d6b0de7ff.tar.gz
kernel-82a2b827c96883d8b39a58bba23d222d6b0de7ff.zip
tools/usbip: fixes potential (minor) "buffer overflow" (detected on recent gcc with -Werror)
Fixes following build error: vhci_driver.c: In function 'refresh_imported_device_list': vhci_driver.c:118:37: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=] snprintf(status, sizeof(status), "status.%d", i); ^~~~~~~~~~~ vhci_driver.c:118:4: note: 'snprintf' output between 9 and 18 bytes into a destination of size 17 snprintf(status, sizeof(status), "status.%d", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Julien BOIBESSOT <[email protected]> Acked-by: Shuah Khan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions