[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160311162230.GA5436@sudip-laptop>
Date: Fri, 11 Mar 2016 21:52:30 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Jia-Ju Bai <baijiaju1990@....com>
Cc: kvalo@...eaurora.org, zajec5@...il.com, joe@...ches.com,
davem@...emloft.net, m@...s.ch, johannes.berg@...el.com,
linux-wireless@...r.kernel.org, b43-dev@...ts.infradead.org,
netdev@...r.kernel.org
Subject: Re: [v2, resend] b43: Fix memory leaks in b43_bus_dev_ssb_init and
b43_bus_dev_bcma_init
On Sat, Jan 16, 2016 at 09:08:10PM +0800, Jia-Ju Bai wrote:
> The memory allocated by kzalloc in b43_bus_dev_ssb_init and
> b43_bus_dev_bcma_init is not freed.
> This patch fixes the bug by adding kfree in b43_ssb_remove,
> b43_bcma_remove and error handling code of b43_bcma_probe.
>
> Thanks Michael for his suggestion.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@....com>
The patch did not apply cleanly. I had to edit the patch to point to
drivers/net/wireless/broadcom/b43/main.c
For CONFIG_B43_SSB part-
Tested-by: Sudip Mukherjee <sudip.mukherjee@...ethink.co.uk>
regards
sudip
Powered by blists - more mailing lists