linux/Documentation/ioctl
Laura Abbott c6517b7815 doc: ioctl: Add some clarifications to botching-up-ioctls
- The guide currently says to pad the structure to a multiple of
  64-bits. This is not necessary in cases where the structure contains
  no 64-bit types. Clarify this concept to avoid unnecessary padding.
- When using __u64 to hold user pointers, blindly trying to do a cast to
  a void __user * may generate a warning on 32-bit systems about a cast
  from an integer to a pointer of different size. There is a macro to
  deal with this which hides an ugly double cast. Add a reference to
  this macro.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2016-09-06 06:00:22 -06:00
..
00-INDEX Documentation: add How to avoid botching up ioctls 2014-08-09 09:13:40 -07:00
botching-up-ioctls.txt doc: ioctl: Add some clarifications to botching-up-ioctls 2016-09-06 06:00:22 -06:00
cdrom.txt cdrom: support read sub-channel command in LBA format 2016-07-12 08:24:50 -07:00
hdio.txt Documentation: Fix multiple typo in Documentation 2012-03-07 16:08:24 +01:00
ioctl-decoding.txt
ioctl-number.txt nilfs2: move ioctl interface and disk layout to uapi separately 2016-08-02 19:35:21 -04:00