[Linux-kernel-mentees] [PATCH] exit.c: Fix Sparse errors and warnings

Christian Brauner christian.brauner at ubuntu.com
Tue Jan 28 18:01:28 UTC 2020


On Tue, Jan 28, 2020 at 10:50:08PM +0530, madhuparnabhowmik10 at gmail.com wrote:
> From: Madhuparna Bhowmik <madhuparnabhowmik10 at gmail.com>
> 
> 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 at gmail.com>

Thanks, looks good to me!
Acked-by: Christian Brauner <christian.brauner at ubuntu.com>


More information about the Linux-kernel-mentees mailing list