Re: [PATCH] exit.c: Fix Sparse errors and warnings
From: Christian Brauner
Date: Tue Jan 28 2020 - 13:01:35 EST
On Tue, Jan 28, 2020 at 10:50:08PM +0530, madhuparnabhowmik10@xxxxxxxxx wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>
>
> This patch fixes the following sparse error:
> kernel/exit.c:627:25: error: incompatible types in comparison expression
> caused due to accessing rcu protected pointer without using rcu primitives.
>
> And the following warning:
>
> kernel/exit.c:626:40: warning: incorrect type in assignment
>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>
Thanks, looks good to me!
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>