Bart Van Assche f669b8a683 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>
2023-07-23 16:35:56 -04:00
..
2020-03-11 23:07:58 -04:00
2021-04-06 09:28:17 -06:00
2020-03-11 23:07:59 -04:00
2020-03-11 23:08:00 -04:00
2020-03-11 23:08:00 -04:00
2020-03-11 23:08:01 -04:00
2021-02-22 10:24:58 -08:00
2020-03-11 23:08:02 -04:00
2023-02-08 18:49:48 -05:00