From 1860882109b8aaefcf387c96324646cf457bb170 Mon Sep 17 00:00:00 2001 From: Christoph Anton Mitterer Date: Fri, 9 Feb 2024 23:34:25 +0100 Subject: [PATCH] blkdev.h: update location of SCSI device types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In Linux commit c5f1ac8b94bd10f97f5aa1a3279ad8e8bbc6311a (“Split SCSI header files”) these definition where split out into `include/scsi/scsi_proto.h`. This commit also removes the git link (any kernel sources will do just fine) and just names the file. Signed-off-by: Christoph Anton Mitterer --- include/blkdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/blkdev.h b/include/blkdev.h index f2252e7807..efa33af11f 100644 --- a/include/blkdev.h +++ b/include/blkdev.h @@ -131,8 +131,8 @@ int blkdev_is_cdrom(int fd); /* get device's geometry - legacy */ int blkdev_get_geometry(int fd, unsigned int *h, unsigned int *s); -/* SCSI device types. Copied almost as-is from kernel header. - * http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/scsi/scsi.h */ +/* SCSI device types. Copied almost as-is from kernel header + * (include/scsi/scsi_proto.h). */ #define SCSI_TYPE_DISK 0x00 #define SCSI_TYPE_TAPE 0x01 #define SCSI_TYPE_PRINTER 0x02 -- 2.47.3