linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add uapi/scsi/scsi.h
@ 2015-01-08 19:47 Andy Grover
  2015-01-08 19:47 ` [PATCH 1/3] scsi: add WRITE_VERIFY_16 to scsi.h Andy Grover
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Andy Grover @ 2015-01-08 19:47 UTC (permalink / raw)
  To: JBottomley; +Cc: linux-scsi, hch

Hi James,

This patchset against scsi/for-next moves SCSI opcodes and other
useful defines into a user-available header. This should help projects
like tgt and glibc that have copied these opcode definitions and then
experience bitrot.  (e.g. glibc-headers provides
/usr/include/scsi/scsi.h on my system, it's from 1999.)

The uapi header is also where SCSI ioctls should go, so patch 3 moves
the contents of scsi_ioctl.h into it, and removes scsi_ioctl.h since
its kernel-specific contents aren't really enough to justify a
separate file from scsi/scsi.h.

The first patch adds a missing opcode.

Builds with allmodconfig.

Thanks -- Andy

Andy Grover (3):
  scsi: add WRITE_VERIFY_16 to scsi.h
  scsi: Move user-shareable stuff in scsi/scsi.h to uapi/scsi/scsi.h
  scsi: Remove scsi_ioctl.h

 block/bsg.c                        |   1 -
 block/scsi_ioctl.c                 |   1 -
 drivers/block/cciss.c              |   1 -
 drivers/block/pktcdvd.c            |   1 -
 drivers/ide/ide-floppy.c           |   2 -
 drivers/ide/ide-floppy_ioctl.c     |   2 +-
 drivers/scsi/ch.c                  |   1 -
 drivers/scsi/fdomain.c             |   1 -
 drivers/scsi/nsp32.c               |   1 -
 drivers/scsi/osd/osd_uld.c         |   1 -
 drivers/scsi/osst.c                |   1 -
 drivers/scsi/pcmcia/aha152x_stub.c |   1 -
 drivers/scsi/pcmcia/fdomain_stub.c |   1 -
 drivers/scsi/pcmcia/nsp_cs.c       |   1 -
 drivers/scsi/pcmcia/qlogic_stub.c  |   1 -
 drivers/scsi/pcmcia/sym53c500_cs.c |   1 -
 drivers/scsi/scsi_error.c          |   1 -
 drivers/scsi/scsi_ioctl.c          |   1 -
 drivers/scsi/sd.c                  |   1 -
 drivers/scsi/sd_dif.c              |   1 -
 drivers/scsi/sg.c                  |   1 -
 drivers/scsi/sr.c                  |   1 -
 drivers/scsi/sr_ioctl.c            |   1 -
 drivers/scsi/sr_vendor.c           |   1 -
 drivers/scsi/st.c                  |   1 -
 fs/compat_ioctl.c                  |   1 -
 include/scsi/scsi.h                | 523 +---------------------------------
 include/scsi/scsi_ioctl.h          |  48 ----
 include/uapi/scsi/Kbuild           |   1 +
 include/uapi/scsi/scsi.h           | 560 +++++++++++++++++++++++++++++++++++++
 30 files changed, 569 insertions(+), 591 deletions(-)
 delete mode 100644 include/scsi/scsi_ioctl.h
 create mode 100644 include/uapi/scsi/scsi.h

-- 
2.1.0


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

end of thread, other threads:[~2015-01-09 17:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 19:47 [PATCH 0/3] Add uapi/scsi/scsi.h Andy Grover
2015-01-08 19:47 ` [PATCH 1/3] scsi: add WRITE_VERIFY_16 to scsi.h Andy Grover
2015-01-08 19:47 ` [PATCH 2/3] scsi: Move user-shareable stuff in scsi/scsi.h to uapi/scsi/scsi.h Andy Grover
2015-01-09 10:14   ` Christoph Hellwig
2015-01-09 15:27     ` James Bottomley
2015-01-09 15:46       ` Christoph Hellwig
2015-01-09 15:50         ` James Bottomley
2015-01-09 16:01           ` Christoph Hellwig
2015-01-09 16:33             ` James Bottomley
2015-01-09 17:11               ` Christoph Hellwig
2015-01-09 17:44                 ` James Bottomley
2015-01-08 19:47 ` [PATCH 3/3] scsi: Remove scsi_ioctl.h Andy Grover
2015-01-08 20:35   ` James Bottomley
2015-01-08 21:26     ` Andy Grover
2015-01-09  9:05     ` Christoph Hellwig

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).