diff options
author | 2021-10-21 14:32:27 +0800 | |
---|---|---|
committer | 2021-10-27 10:37:01 +0300 | |
commit | c6477cb237048725922f6a786f68b5232abb418f (patch) | |
tree | 8507c15a3f57382760710792cad9678766d8e426 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtw89: remove duplicate register definitions (diff) | |
download | wireguard-linux-c6477cb237048725922f6a786f68b5232abb418f.tar.xz wireguard-linux-c6477cb237048725922f6a786f68b5232abb418f.zip |
rtw89: fix return value in hfc_pub_cfg_chk
It seems to me when pub_cfg->grp0 + pub_cfg->grp1 != pub_cfg->pub_max is true,
it should return -EFAULT rather than 0. Otherwise, the function doesn't need
to exist.
Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/YXEJey8lKksAZif4@ns.kevlo.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions