Re: [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

2019-10-09 Thread Kalle Valo
Navid Emamdoost wrote: > In mwifiex_pcie_alloc_cmdrsp_buf, a new skb is allocated which should be > released if mwifiex_map_pci_memory() fails. The release is added. > > Fixes: fc3314609047 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe") > Signed-off-by: Navid Emamdoost > Acked-by: Gan

Re: [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

2019-10-05 Thread Markus Elfring
> In mwifiex_pcie_alloc_cmdrsp_buf, a new skb is allocated which should be > released if mwifiex_map_pci_memory() fails. The release is added. Please improve this change description. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rs

RE: [EXT] [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

2019-10-04 Thread Ganapathi Bhat
Hi Navid, > Fixes: fc3314609047 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe") Thanks for the change; Acked-by: Ganapathi Bhat Regards, Ganapathi

[PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

2019-10-04 Thread Navid Emamdoost
In mwifiex_pcie_alloc_cmdrsp_buf, a new skb is allocated which should be released if mwifiex_map_pci_memory() fails. The release is added. Fixes: fc3314609047 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe") Signed-off-by: Navid Emamdoost --- drivers/net/wireless/marvell/mwifiex/pcie.c |