Re: [PATCH v2 2/7] lib/dlock-list: Add __percpu modifier for parameters

From: Tejun Heo
Date: Wed Jul 13 2016 - 12:10:10 EST


On Mon, Jul 11, 2016 at 01:32:07PM -0400, Waiman Long wrote:
> From: Boqun Feng <boqun.feng@xxxxxxxxx>
>
> Add __percpu modifier properly to help:
>
> 1. Differ pointers to actual structures with those to percpu
> structures, which could improve readability.
>
> 2. Prevent sparse from complaining about "different address spaces"
>
> Signed-off-by: Boqun Feng <boqun.feng@xxxxxxxxx>
> Signed-off-by: Waiman Long <Waiman.Long@xxxxxxx>

Please do this in the same patch.

Thanks.

--
tejun