Skip to content

move compat_ioctl handling into drivers

Arnd Bergmann autofs linux-i2c linux-raid linux-scsi linux-um lkml 1 version Applied

Status from this message: Applied, but please CC: netdev on all networking patches so that

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12arch/um: handle compat_ioctl in tty line driverarch/um/drivers/line.c arch/um/drivers/ssl.c arch/um/drivers/stdio_console.c +1 more+10 -00 replies
2/12scsi/sg: move compat_ioctl handling into sg driverdrivers/scsi/sg.c fs/compat_ioctl.c kernel/trace/blktrace.c+176 -570 replies
3/12autofs/autofs4: move compat_ioctl handling into fsfs/autofs/root.c fs/autofs4/root.c fs/compat_ioctl.c +1 more+131 -420 replies
4/12raw: partly fix compat_ioctl handling on non-x86drivers/char/raw.c fs/compat_ioctl.c+125 -1000 replies
5/12nbd: add compat_ioctl methoddrivers/block/nbd.c fs/compat_ioctl.c+6 -120 replies
6/12smbfs: do compat_ioctl handling in placefs/compat_ioctl.c fs/smbfs/dir.c fs/smbfs/file.c +2 more+52 -320 replies
7/12i2cdev: move compat_ioctl handling into driverdrivers/i2c/i2c-dev.c fs/compat_ioctl.c+117 -1193 replies
8/12md: move compat_ioctl handling into md.cdrivers/md/md.c fs/compat_ioctl.c+23 -231 reply
9/12lp: move compat_ioctl handling into lp.cdrivers/char/lp.c fs/compat_ioctl.c+89 -591 reply
10/12usbdevfs: move compat_ioctl handling to devio.cdrivers/usb/core/devio.c fs/compat_ioctl.c include/linux/usbdevice_fs.h+126 -1231 reply
11/12hamradio/mkiss: fix typo in compat_ioctldrivers/net/hamradio/mkiss.c+1 -11 reply
12/12compat_ioctl: remove unused handlersfs/compat_ioctl.c+0 -260 replies

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNeilBrownAndre NollGreg Kroah-Hartman
SeriesA-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12A-b
9/12A-b
10/12A-b
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [uml-user] [PATCH 00/12] move compat_ioctl handling into drivers

This is the second series of patches on compat_ioctl handling, moving compat handlers into more drivers. Most of these patches consist on a part that adds a compat_ioctl method in one driver and another part removing the respective section from fs/compat_ioctl.c. The fs/compat_ioctl.c portion depends on other patches[1], but the driver code can be applied independently.

If some of you feel responsible for the code I patched, please look at my changes and if they are ok, either take them into your tree or give me an Acked-by for them.

I have tested the patches for sg, usbdevfs and autofs, which was easily done in qemu, but I'm lacking test cases for most of the other ones.

	Arnd <><
Cc Alan Stern <[email protected]>
Cc Alexey Dobriyan <[email protected]>
Cc Alon Bar-Lev <[email protected]>
Cc Al Viro <[email protected]>
Cc Andre Noll <[email protected]>
Cc Andrew Morton <[email protected]>
Cc "Ben Dooks (embedded platforms)" <[email protected]>
Cc David S. Miller <[email protected]>
Cc David Vrabel <[email protected]>
Cc Doug Gilbert <[email protected]>
Cc FUJITA Tomonori <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Ian Kent <[email protected]>
Cc James E.J. Bottomley <[email protected]>
Cc Jan Blunck <[email protected]>
Cc "Jean Delvare (PC drivers, core)" <[email protected]>
Cc Jeff Dike <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Kay Sievers <[email protected]>
Cc KOSAKI Motohiro <[email protected]>
Cc Martin K. Petersen <[email protected]>
Cc Neil Brown <[email protected]>
Cc Nick Piggin <[email protected]>
Cc Oliver Neukum <[email protected]>
Cc Paul Clements <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Wolfram Sang <[email protected]>

Arnd Bergmann (12):
arch/um: handle compat_ioctl in tty line driver scsi/sg: move compat_ioctl handling into sg driver autofs/autofs4: move compat_ioctl handling into fs

  raw: partly fix compat_ioctl handling on non-x86
  nbd: add compat_ioctl method
  smbfs: do compat_ioctl handling in place
  i2cdev: move compat_ioctl handling into driver
  md: move compat_ioctl handling into md.c
  lp: move compat_ioctl handling into lp.c
  usbdevfs: move compat_ioctl handling to devio.c
  hamradio/mkiss: fix typo in compat_ioctl
  compat_ioctl: remove unused handlers
 arch/um/drivers/line.c          |    6 +
 arch/um/drivers/ssl.c           |    1 +
 arch/um/drivers/stdio_console.c |    1 +
 arch/um/include/shared/line.h   |    2 +
 drivers/block/nbd.c             |    7 +-
 drivers/char/lp.c               |  115 +++++++--
 drivers/char/raw.c              |  157 ++++++++++---
 drivers/i2c/i2c-dev.c           |  117 +++++++++
 drivers/md/md.c                 |   23 ++
 drivers/net/hamradio/mkiss.c    |    2 +-
 drivers/scsi/sg.c               |  182 ++++++++++++++-
 drivers/usb/core/devio.c        |  110 ++++++++-
 fs/autofs/root.c                |   67 +++++-
 fs/autofs4/root.c               |   69 +++++-
 fs/compat_ioctl.c               |  504 +--------------------------------------
 fs/smbfs/dir.c                  |    5 +-
 fs/smbfs/file.c                 |    3 +-
 fs/smbfs/ioctl.c                |   48 ++++-
 fs/smbfs/proto.h                |    3 +-
 include/linux/auto_fs.h         |    1 +
 include/linux/usbdevice_fs.h    |   26 ++
 kernel/trace/blktrace.c         |    1 +
 22 files changed, 856 insertions(+), 594 deletions(-)

[1] http://patchwork.kernel.org/bundle/arnd/compat-ioctl-cleanup/?state=*

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july