diff options
author | 2020-01-15 20:46:52 +0300 | |
---|---|---|
committer | 2020-01-26 12:51:00 +0200 | |
commit | 7195c8747e8757daaf48d862e1314f8bcfdb3207 (patch) | |
tree | 933bf4e6651c9e7a3bb5b2d1b664cb46cee14e0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ath11k: make sure to also report the RX bandwidth inside radiotap (diff) | |
download | linux-dev-7195c8747e8757daaf48d862e1314f8bcfdb3207.tar.xz linux-dev-7195c8747e8757daaf48d862e1314f8bcfdb3207.zip |
ath11k: fix up some error paths
There are two error paths where "ret" wasn't set. Also one error path
we set the error code to -EINVAL but we should just preserve the error
code from ath11k_hal_srng_get_entrysize(). That function only returns
-EINVAL so this doesn't change anything.
I removed the "ret = 0;" initializers so that hopefully GCC will be able
to detect these sorts of bugs in the future.
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions