istro kernel.
https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y2018-05-08T14:51:03Zdoc: botching-up-ioctls: Make it clearer why structs must be padded2018-05-08T14:51:03ZDaniel Vetterdaniel.vetter@ffwll.ch2018-05-02T07:51:06Zurn:sha1:1897e8f394c50124f90d6c1be672f05846438bf8
This came up in discussions when reviewing drm patches.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Doc: Fix double words in Documentation2017-01-26T22:25:41ZMasanari Iidastandby24x7@gmail.com2017-01-24T12:45:15Zurn:sha1:8da9704c8bb7d4b0a2b051a5a7eda9b049f5f766
This patch fix some double words found in Documentation.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
doc: ioctl: Add some clarifications to botching-up-ioctls2016-09-06T12:00:22ZLaura Abbottlabbott@redhat.com2016-09-02T22:42:24Zurn:sha1:c6517b78153a1ffb401d8c3ec329effd3ee19036
- 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>
Doc: ioctl: Fix typos in Documentation/ioctl2015-11-20T23:52:50ZMasanari Iidastandby24x7@gmail.com2015-11-16T11:07:37Zurn:sha1:d53a7b8ff60e7e7a68d623072872064465b2cd90
This patch fix some spelling typos in Documentation/ioctl.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>