aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHaowen Bai <baihaowen@meizu.com>2022-04-22 10:10:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-22 16:48:31 +0200
commit89c734e1980259e439f3c57f1e63729dc0038740 (patch)
tree03f8259fd03d369759fe5e111fb988e38020591c /tools/perf/scripts/python/export-to-postgresql.py
parentstaging: r8188eu: Remove unneeded variable ret in rtw_suspend() (diff)
downloadlinux-89c734e1980259e439f3c57f1e63729dc0038740.tar.gz
linux-89c734e1980259e439f3c57f1e63729dc0038740.zip
staging: rtl8192u: Fix signedness bug in ieee80211_check_auth_response()
The ieee80211_check_auth_response() function has a signedness bug because it's a declared as a u16 but it return -ENOMEM. When you look at it more closely it returns a mix of error codes including 0xcafe, -ENOMEM, and a->status which is WLAN_STATUS_NOT_SUPPORTED_AUTH_ALG. This is a mess. Clean it up to just return standard kernel error codes. We can print out the a->status before returning a regular error code. The printks in the caller need to be adjusted as well. Signed-off-by: Haowen Bai <baihaowen@meizu.com> Link: https://lore.kernel.org/r/1650593435-9017-1-git-send-email-baihaowen@meizu.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions