aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-09 20:00:47 +0200
committerHerbert Xu <[email protected]>2022-02-18 16:21:08 +1100
commitfffe799b6cc980f967df2f3773dc53639dd68d7e (patch)
tree20ac863511be63d9298c68c50a05e949e980161d /tools/perf/scripts/python/mem-phys-addr.py
parent4ba31cdd88c9008777a48d3ac2b045dce5634389 (diff)
crypto: qat - don't cast parameter in bit operations
While in this particular case it would not be a (critical) issue, the pattern itself is bad and error prone in case the location of the parameter is changed. Don't cast parameter to unsigned long pointer in the bit operations. Instead copy to a local variable on stack of a proper type and use. Fixes: b4b7e67c917f ("crypto: qat - Intel(R) QAT ucode part of fw loader") Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions