Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1602058

Re: [1/4] mwifiex: pcie: don't leak DMA buffers when removing

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [1/4] mwifiex: pcie: don't leak DMA buffers when removing
Date 2017-03-16 09:20 +0100
Message-ID <tlyNA-3TH-17@gated-at.bofh.it> (permalink)
References <tjEkq-3VF-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Brian Norris <briannorris@chromium.org> wrote:
> When PCIe FLR support was added, much of the remove/release code for
> PCIe was migrated to ->down_dev(), but ->down_dev() is never called for
> device removal. Let's refactor the cleanup to be done in both cases.
> 
> Also, drop the comments above mwifiex_cleanup_pcie(), because they were
> clearly wrong, and it's better to have clear and obvious code than to
> detail the code steps in comments anyway.
> 
> Fixes: 4c5dae59d2e9 ("mwifiex: add PCIe function level reset support")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Brian Norris <briannorris@chromium.org>

3 patches applied to wireless-drivers.git, thanks.

4e841d3eb929 mwifiex: pcie: don't leak DMA buffers when removing
ba1c7e45ec22 mwifiex: set adapter->dev before starting to use mwifiex_dbg()
36908c4e5b10 mwifiex: uninit wakeup info when removing device

-- 
https://patchwork.kernel.org/patch/9618297/

Documentation about submitting wireless patches and checking status
from patchwork:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [1/4] mwifiex: pcie: don't leak DMA buffers when removing Kalle Valo <kvalo@codeaurora.org> - 2017-03-16 09:20 +0100

csiph-web