From a5969cabbb4660eab42b6ef0412cbbd1200cf14d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 12 Oct 2024 07:10:09 +0000 Subject: [PATCH] 修改led为gpio --- kernel/Documentation/scsi/scsi_mid_low_api.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/Documentation/scsi/scsi_mid_low_api.rst b/kernel/Documentation/scsi/scsi_mid_low_api.rst index 5bc17d0..d65c902 100644 --- a/kernel/Documentation/scsi/scsi_mid_low_api.rst +++ b/kernel/Documentation/scsi/scsi_mid_low_api.rst @@ -1195,11 +1195,11 @@ - pointer to scsi_device object that this command is associated with. resid - - an LLD should set this signed integer to the requested + - an LLD should set this unsigned integer to the requested transfer length (i.e. 'request_bufflen') less the number of bytes that are actually transferred. 'resid' is preset to 0 so an LLD can ignore it if it cannot detect - underruns (overruns should be rare). If possible an LLD + underruns (overruns should not be reported). An LLD should set 'resid' prior to invoking 'done'. The most interesting case is data transfers from a SCSI target device (e.g. READs) that underrun. -- Gitblit v1.6.2