diff options
author | Luca Vizzarro <[email protected]> | 2023-02-02 11:58:31 +0000 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-07-10 14:36:11 +0200 |
commit | bccb5c397fbfe348e22c045f5e09c35780edb817 (patch) | |
tree | 7a923dd44274aeab30a601c581f64533f5476d71 /net/lapb/lapb_timer.c | |
parent | 576d498e0ac5caff2d9f6312573ab54d98f12d32 (diff) |
fcntl: Cast commands with int args explicitly
According to the fcntl API specification commands that expect an
integer, hence not a pointer, always take an int and not long. In
order to avoid access to undefined bits, we should explicitly cast
the argument to int.
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Jeff Layton <[email protected]>
Cc: Chuck Lever <[email protected]>
Cc: Kevin Brodsky <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Cc: Szabolcs Nagy <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: David Laight <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Luca Vizzarro <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions