exit: Fix Sparse errors and warnings
authorMadhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Thu, 30 Jan 2020 06:20:28 +0000 (11:50 +0530)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 28 Feb 2020 12:34:39 +0000 (13:34 +0100)
commit22a34c6fe0ffc1d92ee26a25913fadf347258fd6
tree8fa3c85b7a93ec7e1dab6d8f8b4e6bfafbc5aa11
parent0c282b068eb26db0e85e2ab4ec6d1e932acda841
exit: Fix Sparse errors and warnings

This patch fixes the following sparse error:
kernel/exit.c:627:25: error: incompatible types in comparison expression

And the following warning:
kernel/exit.c:626:40: warning: incorrect type in assignment

Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
[christian.brauner@ubuntu.com: edit commit message]
Link: https://lore.kernel.org/r/20200130062028.4870-1-madhuparnabhowmik10@gmail.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
kernel/exit.c