|
@@ -34,6 +34,7 @@
|
|
#include "../rtl8192ce/def.h"
|
|
#include "../rtl8192ce/def.h"
|
|
#include "fw_common.h"
|
|
#include "fw_common.h"
|
|
#include <linux/export.h>
|
|
#include <linux/export.h>
|
|
|
|
+#include <linux/kmemleak.h>
|
|
|
|
|
|
static void _rtl92c_enable_fw_download(struct ieee80211_hw *hw, bool enable)
|
|
static void _rtl92c_enable_fw_download(struct ieee80211_hw *hw, bool enable)
|
|
{
|
|
{
|
|
@@ -776,6 +777,8 @@ void rtl92c_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, bool dl_finished)
|
|
skb = dev_alloc_skb(totalpacketlen);
|
|
skb = dev_alloc_skb(totalpacketlen);
|
|
if (!skb)
|
|
if (!skb)
|
|
return;
|
|
return;
|
|
|
|
+ kmemleak_not_leak(skb);
|
|
|
|
+
|
|
memcpy((u8 *) skb_put(skb, totalpacketlen),
|
|
memcpy((u8 *) skb_put(skb, totalpacketlen),
|
|
&reserved_page_packet, totalpacketlen);
|
|
&reserved_page_packet, totalpacketlen);
|
|
|
|
|