linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] scsi: cleanup ioctl headers and provide UAPI versions
@ 2015-09-17 13:42 Paolo Bonzini
  2015-09-17 13:42 ` [PATCH v2 1/4] scsi: remove old-style type names from sg.h Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Paolo Bonzini @ 2015-09-17 13:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: James Bottomley, Christoph Hellwig, linux-scsi

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-09-25  8:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17 13:42 [PATCH v2 0/4] scsi: cleanup ioctl headers and provide UAPI versions Paolo Bonzini
2015-09-17 13:42 ` [PATCH v2 1/4] scsi: remove old-style type names from sg.h Paolo Bonzini
2015-09-17 15:24   ` Bart Van Assche
2015-09-17 13:42 ` [PATCH v2 2/4] scsi: cleanup scsi/scsi_ioctl.h Paolo Bonzini
2015-09-17 15:27   ` Bart Van Assche
2015-09-17 13:42 ` [PATCH v2 3/4] scsi: move all obsolete ioctls to scsi/scsi_ioctl.h Paolo Bonzini
2015-09-17 15:26   ` Bart Van Assche
2015-09-17 13:47 ` [PATCH v2 4/4] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h Paolo Bonzini
2015-09-17 15:32   ` Bart Van Assche
2015-09-25  8:44     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).