diff options
| author | Andy Shevchenko <[email protected]> | 2017-06-13 09:22:22 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-06-13 12:29:20 +0000 |
| commit | 08585e43d22802666a466af1ca5795085e74d60d (patch) | |
| tree | cf43239899fe85d0e70dff3f3f24fe97276a1430 /net/unix/af_unix.c | |
| parent | HID: i2c-hid: move header file out of I2C realm (diff) | |
| download | kernel-08585e43d22802666a466af1ca5795085e74d60d.tar.gz kernel-08585e43d22802666a466af1ca5795085e74d60d.zip | |
HID: core: don't use negative operands when shift
The recent C standard in 6.5.7 paragraph 4 defines that operands for
bitwise shift operators should be non-negative, otherwise it's an
undefined behaviour.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
