diff options
| author | David Decotigny <[email protected]> | 2016-09-28 18:00:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-09-30 05:56:41 +0000 |
| commit | 5038056e6bd45788235e97e3bcfc43f96c52ca84 (patch) | |
| tree | 82aed21ab9c0e0d8ea7422ef485a1a02d88a46f5 /net/switchdev/switchdev.c | |
| parent | ipv6 addrconf: implement RFC7559 router solicitation backoff (diff) | |
| download | kernel-5038056e6bd45788235e97e3bcfc43f96c52ca84.tar.gz kernel-5038056e6bd45788235e97e3bcfc43f96c52ca84.zip | |
mlx4: remove unused fields
This also can address following UBSAN warnings:
[ 36.640343] ================================================================================
[ 36.648772] UBSAN: Undefined behaviour in drivers/net/ethernet/mellanox/mlx4/fw.c:857:26
[ 36.656853] shift exponent 64 is too large for 32-bit type 'int'
[ 36.663348] ================================================================================
[ 36.671783] ================================================================================
[ 36.680213] UBSAN: Undefined behaviour in drivers/net/ethernet/mellanox/mlx4/fw.c:861:27
[ 36.688297] shift exponent 35 is too large for 32-bit type 'int'
[ 36.694702] ================================================================================
Tested:
reboot with UBSAN, no warning.
Signed-off-by: David Decotigny <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
