aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAlexey Kodanev <[email protected]>2022-12-27 16:33:06 +0300
committerKalle Valo <[email protected]>2023-01-16 18:22:24 +0200
commit1e346cbb096a5351a637ec1992beffbf330547f0 (patch)
tree23bef6067ea602d2368f8d4021736643a4385ffe /tools/perf/scripts/python/mem-phys-addr.py
parentcb689109d9d7e5668f23aafed49a02c55f0aaa6d (diff)
wifi: orinoco: check return value of hermes_write_wordrec()
There is currently no return check for writing an authentication type (HERMES_AUTH_SHARED_KEY or HERMES_AUTH_OPEN). It looks like it was accidentally skipped. This patch adds a return check similar to the other checks in __orinoco_hw_setup_enc() for hermes_write_wordrec(). Detected using the static analysis tool - Svace. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Alexey Kodanev <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions