staging: vt6655:removed incorrect casting in hostap.c
authorArchana kumari <archanakumari959@gmail.com>
Thu, 17 Oct 2013 19:31:55 +0000 (01:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 20:32:35 +0000 (13:32 -0700)
commitf1f9f35019507d9f530c6a65906fb7c2e13a4b58
treee9a1ec3e31ae87ff72f4bf9491acfc8feca0d93b
parent8cedb1be2f1ac8dc88837cefd6ff804d66bcec94
staging: vt6655:removed incorrect casting in hostap.c

This patch fixes the following type of sparse warnings:

drivers/staging/vt6655/hostap.c:733:42: warning: cast from restricted gfp_t
drivers/staging/vt6655/hostap.c:733:42: warning: incorrect type in argument 2 (different base types)
drivers/staging/vt6655/hostap.c:733:42:    expected restricted gfp_t [usertype] flags
drivers/staging/vt6655/hostap.c:733:42:    got int [signed] <noident>

Signed-off-by: Archana kumari <archanakumari959@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/hostap.c