staging: rtl8723au: fix sparse warning
authorClément Calmels <clement.calmels@free.fr>
Thu, 26 Jun 2014 08:20:46 +0000 (10:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:34:16 +0000 (20:34 -0400)
commit809d208b1b0175843f19f8f552bf05af84496b56
tree27e346831769c70251577cd7561ca130cc5dc422
parentbbcd2d258a0dcc78bf3cc9685775d774208c8060
staging: rtl8723au: fix sparse warning

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@free.fr>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/include/rtw_mlme.h