summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorTeodora Baluta2013-10-16 22:53:33 +0200
committerGreg Kroah-Hartman2013-10-17 03:53:42 +0200
commitf1490809846f33433a610ab6e367d6de029f37da (patch)
tree3af0c8e077c285e8829d73a9b46b913423ddee79 /drivers/staging/rtl8192u
parentStaging: rtl8192u: fix functions that should not be declared extern (diff)
downloadkernel-qcow2-linux-f1490809846f33433a610ab6e367d6de029f37da.tar.gz
kernel-qcow2-linux-f1490809846f33433a610ab6e367d6de029f37da.tar.xz
kernel-qcow2-linux-f1490809846f33433a610ab6e367d6de029f37da.zip
Staging: rtl8192u: use gfp_t instead of int
This patch fixes the following type of sparse warnings: drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c:247:17: warning: incorrect type in argument 2 (different base types) drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c:247:17: expected restricted gfp_t [usertype] flags drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c:247:17: got int [signed] gfp_mask Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
index d5dae74ec67c..682659a749b6 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
@@ -238,7 +238,7 @@ void ieee80211_txb_free(struct ieee80211_txb *txb) {
}
struct ieee80211_txb *ieee80211_alloc_txb(int nr_frags, int txb_size,
- int gfp_mask)
+ gfp_t gfp_mask)
{
struct ieee80211_txb *txb;
int i;