commit | f4d7b3e23d259c44f1f1c39645450680fcd935d6 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Feb 27 13:37:26 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 27 09:34:39 2019 -0800 |
tree | d6355af1c739be9c4ccbdcaf7b8305a9e456d81c | |
parent | 2b3c6885386020b1b9d92d45e8349637e27d1f66 [diff] |
net: dev: Use unsigned integer as an argument to left-shift 1 << 31 is Undefined Behaviour according to the C standard. Use U type modifier to avoid theoretical overflow. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>