summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-07-07 04:49:33 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-07 22:47:10 +0300
commit3f2edd309ff02c973bc3cb815c87def07a1ac804 (patch)
tree3908ae82700cb13a260e358e8a21c2dd42f6f94c /tools/perf/scripts/python/export-to-postgresql.py
parent5411ca7178d40d94e009f3a00f10e20e6067037c (diff)
downloadlinux-3f2edd309ff02c973bc3cb815c87def07a1ac804.tar.xz
net: phy: at803x: Avoid comparison is always false warning
By placing the GENMASK value into an unsigned int and then passing it to PREF_FIELD, the type is reduces down from ULL. Given the reduced size of the type, the range checks in PREP_FAIL() are always true, and -Wtype-limits then gives a warning. By skipping the intermediate variable, the warning can be avoided. Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Andrew Lunn <andrew@lunn.ch> 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