Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL
From: One Thousand Gnomes
Date: Mon Mar 07 2016 - 06:43:50 EST
On Mon, 7 Mar 2016 17:21:25 +0800
Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote:
> Do this to keep consistent with kfree, which tolerate ptr is NULL.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
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