Re: [PATCH] rtl8xxxu: Fix sparse warning: cast from restricted __le16
From: Kalle Valo
Date: Mon Mar 23 2020 - 13:36:34 EST
Chris Chiu <chiu@xxxxxxxxxxxx> wrote:
> Fix the warning reported by sparse as:
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:4819:17: sparse: sparse: cast from restricted __le16
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:4892:17: sparse: sparse: cast from restricted __le16
>
> Signed-off-by: Chris Chiu <chiu@xxxxxxxxxxxx>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Acked-by: Jes Sorensen <jes@xxxxxxxxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
8d4ccd7770e7 rtl8xxxu: Fix sparse warning: cast from restricted __le16
--
https://patchwork.kernel.org/patch/11446567/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches