diff options
| author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-08-27 23:06:19 +0800 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-09-01 11:27:36 +0800 |
| commit | a650d86bcaf555f45019f38d5c1d996556141bbe (patch) | |
| tree | b2642accd87e0bae43f44a66b098903ef79bd8d7 /rust/helpers/task.c | |
| parent | e83a2a996b5cbf5398375d9b0b19d2b6bd27a18d (diff) | |
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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
