diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-07-21 18:01:32 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-23 22:35:56 +0200 |
commit | f669b8a683e4ee26fa5cafe19d71cec1786b556a (patch) | |
tree | 5a7bc1916319b06c38dfa01f510af11d6b735ca0 /drivers/ufs/core/ufshpb.c | |
parent | scsi: ufs: ufs-qcom: Change UFS devfreq timer to delayed (diff) | |
download | linux-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