[PATCH v2 0/4] scsi: cleanup ioctl headers and provide UAPI versions
From: Paolo Bonzini
Date: Thu Sep 17 2015 - 09:42:34 EST
This is v2 of the series I sent a few days ago. A bit heavier on
the cleanups:
- export the structs for obsolete SCSI_IOCTL_SEND_COMMAND in
uapi/linux/scsi_ioctl.h
- reduce the kernel's scsi/scsi_ioctl.h even more
- remove obsolete types from uapi/linux/sg.h
- place all obsolete ioctls in uapi/linux/scsi_ioctl.h, even those
formerly in scsi/scsi.h [requested by hch]
... and reverting to the flat uapi/linux/ structure instead of
creating uapi/linux/scsi/.
Paolo
Paolo Bonzini (4):
scsi: remove old-style type names from sg.h
scsi: cleanup scsi/scsi_ioctl.h
scsi: move all obsolete ioctls to scsi_ioctl.h
scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h
include/scsi/scsi.h | 20 +--
include/scsi/scsi_ioctl.h | 38 +----
include/scsi/sg.h | 266 +-----------------------------
include/uapi/linux/Kbuild | 2 +
include/{scsi => uapi/linux}/scsi_ioctl.h | 41 +++--
include/{scsi => uapi/linux}/sg.h | 26 +--
6 files changed, 38 insertions(+), 355 deletions(-)
copy include/{scsi => uapi/linux}/scsi_ioctl.h (51%)
copy include/{scsi => uapi/linux}/sg.h (95%)
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/