* [PATCH] eject: update file provenance of DRIVER_SENSE in the comments
@ 2022-04-20 9:37 Enze Li
2022-04-25 13:44 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Enze Li @ 2022-04-20 9:37 UTC (permalink / raw)
To: util-linux
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] eject: update file provenance of DRIVER_SENSE in the comments
2022-04-20 9:37 [PATCH] eject: update file provenance of DRIVER_SENSE in the comments Enze Li
@ 2022-04-25 13:44 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2022-04-25 13:44 UTC (permalink / raw)
To: Enze Li; +Cc: util-linux
On Wed, Apr 20, 2022 at 05:37:01PM +0800, Enze Li wrote:
> sys-utils/eject.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-25 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 9:37 [PATCH] eject: update file provenance of DRIVER_SENSE in the comments Enze Li
2022-04-25 13:44 ` Karel Zak
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.