Re: [PATCH] doc: ioctl: Add some clarifications to botching-up-ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 03 Sep 2016 00:44:02 +0200
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> On Friday, September 2, 2016 3:42:24 PM CEST Laura Abbott wrote:
> > - 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@xxxxxxxxxx>
> >   
> 
> Looks good to me,
> 
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied to the docs tree, thanks.

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux