rtlwifi: Fix a false leak indication for PCI devices
This false leak indication is avoided with a no-leak annotation to kmemleak. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a805de4d03
commit
87ccee46fa
1 changed files with 1 additions and 0 deletions
|
@ -764,6 +764,7 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw)
|
|||
"can't alloc skb for rx\n");
|
||||
goto done;
|
||||
}
|
||||
kmemleak_not_leak(new_skb);
|
||||
|
||||
pci_unmap_single(rtlpci->pdev,
|
||||
*((dma_addr_t *) skb->cb),
|
||||
|
|
Loading…
Reference in a new issue