From: Christoph Anton Mitterer Date: Fri, 9 Feb 2024 22:34:25 +0000 (+0100) Subject: blkdev.h: update location of SCSI device types X-Git-Tag: v2.42-start~538^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1860882109b8aaefcf387c96324646cf457bb170;p=thirdparty%2Futil-linux.git blkdev.h: update location of SCSI device types 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 --- 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