aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-14 17:39:58 +0200
committerGreg Kroah-Hartman <[email protected]>2022-02-25 12:09:26 +0100
commit20dde50ffe26be9cd446932e3eaf3f7d7db97423 (patch)
treea4ad1a556ba9cea4f2d1c4c7c5cd21d3c7acd175 /tools/perf/scripts/python/netdev-times.py
parent22f01029cd25dcf227b99c87dce75bba58df4e6b (diff)
misc: sgi-gru: Don't cast parameter in bit operations
While in this particular case (*) it would not be an issue, the pattern itself is bad and error prone in case somebody blindly copies to their code. Don't cast parameter to unsigned long pointer in the bit operations. Note, new compilers might warn on this line for potential outbound access. *) it seems a dead code, so remove it all for good Fixes: 13d19498b044 ("GRU Driver: driver internal header files") Acked-by: Dimitri Sivanich <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions