rtw_cfgvendor: GFP_ATOMIC and GFP_KERNEL are of type u32

This commit is contained in:
kimocoder 2020-02-01 09:24:50 +01:00
parent b3a4fa0b1b
commit 6ac6fc9530

View File

@ -171,7 +171,7 @@ struct sk_buff *rtw_cfg80211_vendor_event_alloc(
int rtw_cfgvendor_send_async_event(struct wiphy *wiphy, int rtw_cfgvendor_send_async_event(struct wiphy *wiphy,
struct net_device *dev, int event_id, const void *data, int len) struct net_device *dev, int event_id, const void *data, int len)
{ {
u16 kflags; u32 kflags;
struct sk_buff *skb; struct sk_buff *skb;
kflags = in_atomic() ? GFP_ATOMIC : GFP_KERNEL; kflags = in_atomic() ? GFP_ATOMIC : GFP_KERNEL;