Skip to content
Commit f4d7b3e2 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by David S. Miller
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2b3c6885
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment