Staging: vt6656: Fix Sparse Warning: cast from restricted gfp_t in hostap.c
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Sun, 27 Oct 2013 22:58:02 +0000 (00:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2013 03:36:44 +0000 (20:36 -0700)
commit6dfd609b4d08519185ace2878871710a92a520c3
tree7a1c72d2525aeec1fbae8d139d3cd5ee45740426
parent6a123705d8eb121b648b5c436fa4d6ccfcd152ee
Staging: vt6656: Fix Sparse Warning: cast from restricted gfp_t in hostap.c

This patch fixes the following type of sparse warnings:

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

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/hostap.c