linux-stable/Documentation/scsi
Bart Van Assche 4bf234f3e0 scsi: core: Fix the scsi_set_resid() documentation
commit f669b8a683 upstream.

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 9237f04e12 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:53:50 +02:00
..
scsi_transport_srp scsi: docs: include SCSI Transport SRP diagram at the doc body 2020-03-11 23:07:57 -04:00
53c700.rst scsi: docs: convert 53c700.txt to ReST 2020-03-11 23:07:58 -04:00
BusLogic.rst Buslogic: remove ISA support 2021-04-06 09:28:17 -06:00
ChangeLog.arcmsr
ChangeLog.ips
ChangeLog.lpfc scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.megaraid scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.megaraid_sas scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.ncr53c8xx scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.sym53c8xx scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ChangeLog.sym53c8xx_2 scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
FlashPoint.rst scsi: docs: convert FlashPoint.txt to ReST 2020-03-11 23:07:59 -04:00
LICENSE.FlashPoint
NinjaSCSI.rst scsi: docs: convert NinjaSCSI.txt to ReST 2020-03-11 23:08:01 -04:00
aacraid.rst scsi: docs: convert aacraid.txt to ReST 2020-03-11 23:07:58 -04:00
advansys.rst scsi: advansys: docs: Eliminate duplicated word 2020-07-08 01:32:11 -04:00
aha152x.rst scsi: docs: convert aha152x.txt to ReST 2020-03-11 23:07:58 -04:00
aic7xxx.rst scsi: docs: convert aic7xxx.txt to ReST 2020-03-11 23:07:58 -04:00
aic79xx.rst scsi: docs: convert aic79xx.txt to ReST 2020-03-11 23:07:58 -04:00
arcmsr_spec.rst scsi: docs: arcmsr: Use a chapter heading for clarity 2023-05-22 18:36:07 -04:00
bfa.rst scsi: docs: convert bfa.txt to ReST 2020-03-11 23:07:58 -04:00
bnx2fc.rst scsi: docs: convert bnx2fc.txt to ReST 2020-03-11 23:07:59 -04:00
cxgb3i.rst scsi: docs: convert cxgb3i.txt to ReST 2020-03-11 23:07:59 -04:00
dc395x.rst scsi: docs: dc395x: Shorten the chapter heading 2023-05-22 18:36:07 -04:00
dpti.rst scsi: docs: convert dpti.txt to ReST 2020-03-11 23:07:59 -04:00
g_NCR5380.rst scsi: docs: g_NCR5380: Shorten chapter heading 2023-05-22 18:36:07 -04:00
hpsa.rst scsi: docs: convert hpsa.txt to ReST 2020-03-11 23:08:00 -04:00
hptiop.rst scsi: docs: convert hptiop.txt to ReST 2020-03-11 23:08:00 -04:00
index.rst scsi: docs: Organize the SCSI documentation 2023-05-22 18:36:06 -04:00
libsas.rst scsi: libsas: Delete lldd_clear_aca callback 2022-02-19 15:59:34 -05:00
link_power_management_policy.rst scsi: docs: convert link_power_management_policy.txt to ReST 2020-03-11 23:08:00 -04:00
lpfc.rst scsi: docs: convert lpfc.txt to ReST 2020-03-11 23:08:00 -04:00
megaraid.rst scsi: docs: megaraid: Clarify chapter heading 2023-05-22 18:36:07 -04:00
ncr53c8xx.rst scsi: docs: ncr53c8xx: Shorten chapter heading 2023-05-22 18:36:07 -04:00
ppa.rst scsi: docs: convert ppa.txt to ReST 2020-03-11 23:08:01 -04:00
qlogicfas.rst scsi: docs: convert qlogicfas.txt to ReST 2020-03-11 23:08:01 -04:00
scsi-changer.rst scsi: docs: scsi-changer: Shorten the chapter heading 2023-05-22 18:36:07 -04:00
scsi-generic.rst scsi: docs: scsi-generic: Multiple cleanups 2023-05-22 18:36:07 -04:00
scsi-parameters.rst SCSI misc on 20210219 2021-02-22 10:24:58 -08:00
scsi.rst scsi: docs: introduction: Multiple cleanups 2023-05-22 18:36:07 -04:00
scsi_eh.rst scsi: core: Change the return type of .eh_timed_out() 2022-10-22 03:25:59 +00:00
scsi_fc_transport.rst scsi: docs: scsi_fc_transport: Fix typo in heading 2023-05-22 18:36:07 -04:00
scsi_mid_low_api.rst scsi: core: Fix the scsi_set_resid() documentation 2023-09-13 09:53:50 +02:00
sd-parameters.rst scsi: docs: convert sd-parameters.txt to ReST 2020-03-11 23:08:02 -04:00
smartpqi.rst scsi: smartpqi: Update documentation 2020-09-02 22:49:06 -04:00
st.rst scsi: docs: convert st.txt to ReST 2020-03-11 23:08:02 -04:00
sym53c8xx_2.rst scsi: docs: sym53c8xx_2: Shorten chapter heading 2023-05-22 18:36:07 -04:00
sym53c500_cs.rst scsi: docs: convert sym53c500_cs.txt to ReST 2020-03-11 23:08:03 -04:00
tcm_qla2xxx.rst scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
ufs.rst scsi: Documentation: Correct spelling 2023-02-08 18:49:48 -05:00
wd719x.rst scsi: docs: convert wd719x.txt to ReST 2020-03-11 23:08:03 -04:00