All of lore.kernel.org
 help / color / mirror / Atom feed
From: Enze Li <lienze@kylinos.cn>
To: util-linux@vger.kernel.org
Subject: [PATCH] eject: update file provenance of DRIVER_SENSE in the comments
Date: Wed, 20 Apr 2022 17:37:01 +0800	[thread overview]
Message-ID: <20220420093701.868169-1-lienze@kylinos.cn> (raw)

The location where the macro DRIVER_SENSE is defined has been placed in
include/scsi/sg.h in the kernel upstream, but the comment was not
updated in time.  This patch updates the contents of this comment.

Signed-off-by: Enze Li <lienze@kylinos.cn>
---
 sys-utils/eject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-utils/eject.c b/sys-utils/eject.c
index 5cd0beab2..717d9fe5b 100644
--- a/sys-utils/eject.c
+++ b/sys-utils/eject.c
@@ -55,7 +55,7 @@
 #include "monotonic.h"
 
 /*
- * sg_io_hdr_t driver_status -- see kernel include/scsi/scsi.h
+ * sg_io_hdr_t driver_status -- see kernel include/scsi/sg.h
  */
 #ifndef DRIVER_SENSE
 # define DRIVER_SENSE	0x08
-- 
2.25.1


             reply	other threads:[~2022-04-20  9:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20  9:37 Enze Li [this message]
2022-04-25 13:44 ` [PATCH] eject: update file provenance of DRIVER_SENSE in the comments Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220420093701.868169-1-lienze@kylinos.cn \
    --to=lienze@kylinos.cn \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.