summaryrefslogtreecommitdiffstats
path: root/drivers/ufs/core/ufshpb.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-07-21 18:01:32 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2023-07-23 22:35:56 +0200
commitf669b8a683e4ee26fa5cafe19d71cec1786b556a (patch)
tree5a7bc1916319b06c38dfa01f510af11d6b735ca0 /drivers/ufs/core/ufshpb.c
parentscsi: ufs: ufs-qcom: Change UFS devfreq timer to delayed (diff)
downloadlinux-f669b8a683e4ee26fa5cafe19d71cec1786b556a.tar.xz
linux-f669b8a683e4ee26fa5cafe19d71cec1786b556a.zip
scsi: core: Fix the scsi_set_resid() documentation
Because scsi_finish_command() subtracts the residual from the buffer length, residual overflows must not be reported. Reflect this in the SCSI documentation. See also commit 9237f04e12cc ("scsi: core: Fix scsi_get/set_resid() interface") Cc: Damien Le Moal <dlemoal@kernel.org> Cc: Hannes Reinecke <hare@suse.de> Cc: Douglas Gilbert <dgilbert@interlog.com> Cc: stable@vger.kernel.org Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230721160154.874010-2-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs/core/ufshpb.c')
0 files changed, 0 insertions, 0 deletions