Re: [PATCH] treewide: use an unsigned type for ioctl commands

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

 



On Fri, 17 May 2024 09:49:00 +0200, Ahmad Fatoum wrote:
> Linux & BSD define the ioctl command parameter to be always unsigned.
> POSIX differs and uses a signed integer instead, but as we are importing
> Linux code, it makes sense to use the same signedness to avoid false
> positive warnings about sign-extended constants that get truncated.
> 
> 

Applied, thanks!

[1/1] treewide: use an unsigned type for ioctl commands
      https://git.pengutronix.de/cgit/barebox/commit/?id=d9c9b317673d (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux