summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-27 23:06:19 +0800
committerPing-Ke Shih <pkshih@realtek.com>2025-09-01 11:27:36 +0800
commita650d86bcaf555f45019f38d5c1d996556141bbe (patch)
treeb2642accd87e0bae43f44a66b098903ef79bd8d7 /tools/perf/scripts/python
parente83a2a996b5cbf5398375d9b0b19d2b6bd27a18d (diff)
downloadlinux-a650d86bcaf555f45019f38d5c1d996556141bbe.tar.gz
linux-a650d86bcaf555f45019f38d5c1d996556141bbe.zip
wifi: rtw89: use int type to store negative error codes
The 'ret' variable stores returns from other functions, which return either zero on success or negative error codes on failure. Storing error codes in u32 (an unsigned type) causes no runtime issues but is stylistically inconsistent and very ugly. Change 'ret' from u32 to int - this has no runtime impact. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250827150620.550641-1-rongqianfeng@vivo.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions