projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_kernel-modules_rtl8822cs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c9898
)
rtl88x2CS: Resolve constant-conversion errors
author
Bruno Martins
<bgcngm@gmail.com>
Sun, 22 Oct 2023 16:44:56 +0000
(17:44 +0100)
committer
Bruno Martins
<bgcngm@gmail.com>
Sun, 22 Oct 2023 16:45:31 +0000
(17:45 +0100)
Change-Id: I7909337b42dfc39ad4fab5f74341d5614afb150a
rtl88x2CS/os_dep/linux/rtw_cfgvendor.c
patch
|
blob
|
blame
|
history
diff --git
a/rtl88x2CS/os_dep/linux/rtw_cfgvendor.c
b/rtl88x2CS/os_dep/linux/rtw_cfgvendor.c
index d906163df6ee3440185d5a271f74f4168a1fba59..6991f0316bee8685fa07cfc31e0fab710b3e500a 100644
(file)
--- a/
rtl88x2CS/os_dep/linux/rtw_cfgvendor.c
+++ b/
rtl88x2CS/os_dep/linux/rtw_cfgvendor.c
@@
-171,7
+171,7
@@
struct sk_buff *rtw_cfg80211_vendor_event_alloc(
int rtw_cfgvendor_send_async_event(struct wiphy *wiphy,
struct net_device *dev, int event_id, const void *data, int len)
{
-
u16
kflags;
+
gfp_t
kflags;
struct sk_buff *skb;
kflags = in_atomic() ? GFP_ATOMIC : GFP_KERNEL;
@@
-394,7
+394,7
@@
exit:
int rtw_cfgvendor_send_hotlist_event(struct wiphy *wiphy,
struct net_device *dev, void *data, int len, rtw_vendor_event_t event)
{
-
u16
kflags;
+
gfp_t
kflags;
const void *ptr;
struct sk_buff *skb;
int malloc_len, total, iter_cnt_to_send, cnt;