diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2017-01-26 22:53:41 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:12 +0200 |
| commit | 0690955eef2536b10c94a403775f6b014ca51273 (patch) | |
| tree | 74064355a9b64e21ebfdee6492021de7c245fef8 /kernel/timer.c | |
| parent | 9ec19608e3df363eefbe06848ff79208a5cc5c20 (diff) | |
drivers: usb: storage: transport: fix maybe-uninitialized warnings
drivers/usb/storage/transport.c: In function 'usb_stor_bulk_srb':
drivers/usb/storage/transport.c:473:40: warning: 'partial' may be used uninitialized in this function [-Wmaybe-uninitialized]
scsi_set_resid(srb, scsi_bufflen(srb) - partial);
~~~~~~~~~~~~~~~~~~^~~~~~~~~
drivers/usb/storage/transport.c: In function 'usb_stor_bulk_transfer_sg':
drivers/usb/storage/transport.c:499:15: warning: 'partial' may be used uninitialized in this function [-Wmaybe-uninitialized]
length_left -= partial;
~~~~~~~~~~~~^~~~~~~~~~
drivers/usb/storage/transport.c: In function 'usb_stor_bulk_transfer_sg':
drivers/usb/storage/transport.c:499:15: warning: 'partial' may be used uninitialized in this function [-Wmaybe-uninitialized]
length_left -= partial;
~~~~~~~~~~~~^~~~~~~~~~
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions
