[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170519060136.CA44A60EC7@smtp.codeaurora.org>
Date: Fri, 19 May 2017 06:01:36 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Brian Norris <briannorris@...omium.org>
Cc: Amitkumar Karwar <amitkarwar@...il.com>,
Nishant Sarmukadam <nishants@...vell.com>,
Ganapathi Bhat <gbhat@...vell.com>,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
Brian Norris <briannorris@...omium.org>
Subject: Re: [v2] mwifiex: pcie: de-duplicate buffer allocation code
Brian Norris <briannorris@...omium.org> wrote:
> This code was duplicated as part of the PCIe FLR code added to this
> driver. Let's de-duplicate it to:
>
> * make things easier to read (mwifiex_pcie_free_buffers() now has a
> corresponding mwifiex_pcie_alloc_buffers())
> * reduce likelihood of bugs
> * make error logging equally verbose
> * save lines of code!
>
> Also drop some of the commentary that isn't really needed.
>
> Signed-off-by: Brian Norris <briannorris@...omium.org>
Patch applied to wireless-drivers-next.git, thanks.
d41bf5c1c0ed mwifiex: pcie: de-duplicate buffer allocation code
--
https://patchwork.kernel.org/patch/9734777/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists