diff options
| author | Damien Le Moal <[email protected]> | 2019-10-30 18:08:47 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-11-08 21:34:49 -0500 |
| commit | 9237f04e12cc385334043cd7cf84b74dcbda0256 (patch) | |
| tree | d12d9bd7ffe8f88b4ac48ade9fe3eb9abaff97d3 /include/linux | |
| parent | 61951a6d3153b4482404b739be921a7459f8dc12 (diff) | |
scsi: core: Fix scsi_get/set_resid() interface
struct scsi_cmnd cmd->req.resid_len which is returned and set respectively
by the helper functions scsi_get_resid() and scsi_set_resid() is an
unsigned int. Reflect this fact in the interface of these helper functions.
Also fix compilation errors due to min() and max() type mismatch introduced
by this change in scsi debug code, usb transport code and in the USB ENE
card reader driver.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions