mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
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
@ -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 New Issue
Block a user