aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2019-09-30 14:14:33 +0200
committerHerbert Xu <[email protected]>2019-10-10 23:36:32 +1100
commit74e6bd472b6d9e80ec9972989d8991736fe46c51 (patch)
tree3eedba3625f747a2150820b7a1d116b62eb20b52 /tools/perf/scripts/python/netdev-times.py
parent75451f871cf5ed735c96118894fb9de418cd8a79 (diff)
crypto: inside-secure - Fix a maybe-uninitialized warning
A previous fixup avoided an unused variable warning but replaced it with a slightly scarier warning: drivers/crypto/inside-secure/safexcel.c:1100:6: error: variable 'irq' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] This is harmless as it is impossible to get into this case, but the compiler has no way of knowing that. Add an explicit error handling case to make it obvious to both compilers and humans reading the source. Fixes: 212ef6f29e5b ("crypto: inside-secure - Fix unused variable warning when CONFIG_PCI=n") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Pascal van Leeuwen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions