[PATCH] staging: rtl8723au: fix sparse warning
Jes Sorensen
Jes.Sorensen at redhat.com
Tue Jun 24 22:07:51 UTC 2014
Clement Calmels <clement.calmels at free.fr> writes:
> From: Clément Calmels <clement.calmels at free.fr>
>
> Found running sparse on the rtl8723au driver.
>
> CHECK drivers/staging/rtl8723au/core/rtw_cmd.c
> drivers/staging/rtl8723au/core/rtw_cmd.c:1479:54: warning: incorrect type in argument 2 (different base types)
> drivers/staging/rtl8723au/core/rtw_cmd.c:1479:54: expected int [signed] gfp
> drivers/staging/rtl8723au/core/rtw_cmd.c:1479:54: got restricted gfp_t
>
> Signed-off-by: Clement Calmels <clement.calmels at free.fr>
> ---
> drivers/staging/rtl8723au/core/rtw_mlme.c | 2 +-
> drivers/staging/rtl8723au/include/rtw_mlme.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, I'll add it to my tree!
Cheers,
Jes
More information about the devel
mailing list