2024-02-01 01:13:04

by Ping-Ke Shih

[permalink] [raw]
Subject: RE: [PATCH] wifi: rtl8xxxu: fix error messages



> -----Original Message-----
> From: Dan Carpenter <[email protected]>
> Sent: Wednesday, January 31, 2024 3:10 PM
> To: Martin Kaistra <[email protected]>
> Cc: Jes Sorensen <[email protected]>; Kalle Valo <[email protected]>; Ping-Ke Shih
> <[email protected]>; [email protected]; [email protected];
> [email protected]
> Subject: [PATCH] wifi: rtl8xxxu: fix error messages
>
> The first parameter of WARN_ONCE() is a condition so this code will end
> up printing the function name instead of the proper message.
>
> Fixes: 3ff7a05996f9 ("wifi: rtl8xxxu: support setting bssid register for multiple interfaces")
> Signed-off-by: Dan Carpenter <[email protected]>

Reviewed-by: Ping-Ke Shih <[email protected]>