summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-10-30 10:08:47 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-11-09 03:34:49 +0100
commit9237f04e12cc385334043cd7cf84b74dcbda0256 (patch)
treed12d9bd7ffe8f88b4ac48ade9fe3eb9abaff97d3 /drivers/target
parentscsi: lpfc: Fix lpfc_cpumask_of_node_init() (diff)
downloadlinux-9237f04e12cc385334043cd7cf84b74dcbda0256.tar.xz
linux-9237f04e12cc385334043cd7cf84b74dcbda0256.zip
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/20191030090847.25650-1-damien.lemoal@wdc.com Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions