Re: [PATCH 36/38] MIPS: remove invalid check

2015-09-22 Thread Ralf Baechle
On Mon, Sep 21, 2015 at 03:34:08PM +0200, Andrzej Hajda wrote: > Unsigned values cannot be lesser than zero. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038

[PATCH 36/38] MIPS: remove invalid check

2015-09-21 Thread Andrzej Hajda
Unsigned values cannot be lesser than zero. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --- arch/mips/mm/sc-mips.c | 4 ++-- 1 f