diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-02-27 13:37:26 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 15:27:08 +0100 |
| commit | 8fe9970acd224e3f1dede7255ef4cc5c7ca68878 (patch) | |
| tree | 8b73b08dbb5dcf250486a0da655be3c12216b0f5 /scripts/objdiff | |
| parent | e6bcac89af46d7077184cd900befe7678df077f2 (diff) | |
net: dev: Use unsigned integer as an argument to left-shift
[ Upstream commit f4d7b3e23d259c44f1f1c39645450680fcd935d6 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
