Messages in this thread | | | Date | Mon, 7 Mar 2016 11:41:16 +0000 | From | One Thousand Gnomes <> | Subject | Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL |
| |
On Mon, 7 Mar 2016 17:21:25 +0800 Zhen Lei <thunder.leizhen@huawei.com> wrote:
> Do this to keep consistent with kfree, which tolerate ptr is NULL. > > Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
This is inlined code so you are adding extra logic to every single instance of a call to the function. What is it's total effect on kernel size ?
Alan
| |