[PATCH] treewide: use an unsigned type for ioctl commands
Sascha Hauer
s.hauer at pengutronix.de
Mon May 20 23:20:46 PDT 2024
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 at pengutronix.de>
More information about the barebox
mailing list