summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorAlex Dewar <alex.dewar90@gmail.com>2020-11-07 10:16:29 +0200
committerKalle Valo <kvalo@codeaurora.org>2020-11-10 20:14:36 +0200
commitc134d1f8c436d96b3f62896c630278e3ec001280 (patch)
treeb43e63b816d1397664952410cc79b603a12626cd /drivers/edac
parentb96fab4e36023ee37ed1aad331ddd11b77c46c42 (diff)
ath11k: Handle errors if peer creation fails
ath11k_peer_create() is called without its return value being checked, meaning errors will be unhandled. Add missing check and, as the mutex is unconditionally unlocked on leaving this function, simplify the exit path. Addresses-Coverity-ID: 1497531 ("Code maintainability issues") Fixes: 701e48a43e15 ("ath11k: add packet log support for QCA6390") Signed-off-by: Alex Dewar <alex.dewar90@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20201004100218.311653-1-alex.dewar90@gmail.com
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions