]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04d2f694ad2bd82030b55e29cd83c8a2c8dc79fa
tree7a1c72d2525aeec1fbae8d139d3cd5ee45740426
parenta37cdcc6c282a5c378603347156400a503d85efa
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