aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2016-09-07 19:07:59 +0300
committerDavid S. Miller <[email protected]>2016-09-08 16:15:29 -0700
commit7abc2110779b133e54ce681a4d0be3d89304eda1 (patch)
tree0d63b3aedbff7c0d3111571bd47d7007d0adbbab /tools/perf/scripts/python/bin/export-to-postgresql-report
parente7e31ca43d6bedf1c551b1f9c7e78d51c9a45790 (diff)
net/mlx5e: Prevent casting overflow
On 64 bits architectures unsigned long is longer than u32, casting to unsigned long will result in overflow. We need to first allocate an unsigned long variable, then assign the wanted value. Fixes: 665bc53969d7 ('net/mlx5e: Use new ethtool get/set link ksettings API') Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions