diff options
| author | Andy Shevchenko <[email protected]> | 2019-02-27 10:37:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-27 17:34:39 +0000 |
| commit | f4d7b3e23d259c44f1f1c39645450680fcd935d6 (patch) | |
| tree | d6355af1c739be9c4ccbdcaf7b8305a9e456d81c /drivers/net/xen-netback/interface.c | |
| parent | bnxt_en: Drop oversize TX packets to prevent errors. (diff) | |
| download | kernel-f4d7b3e23d259c44f1f1c39645450680fcd935d6.tar.gz kernel-f4d7b3e23d259c44f1f1c39645450680fcd935d6.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
