diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-07-05 23:36:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-06 01:45:38 +0300 |
commit | c226e2716ee25ab8e6b868559be00a1c30282486 (patch) | |
tree | 958bb6416b97e780b1086ed93b6b2015b9391bd9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f76b6ef11c5723e840c1fc49587d267297352e9e (diff) | |
download | linux-c226e2716ee25ab8e6b868559be00a1c30282486.tar.xz |
net: dsa: bcm_sf2: Pass GENMASK() signed bits
Oddly, GENMASK() requires signed bit numbers, so that it can compare
them for < 0. If passed an unsigned type, we get warnings about the
test never being true. There is no danger of overflow here, udf is
always a u8, so there is plenty of space when expanding to an int.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions