diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2015-09-21 15:34:08 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-10-26 09:49:39 +0100 |
commit | 05513992c69d159e698bb4b5f651abd0ceff525c (patch) | |
tree | f3a1f07ae8f13cc29f2fac3b4a4f86e2c093b02e /fs | |
parent | 32b88194f71d6ae7768a29f87fbba454728273ee (diff) | |
download | linux-stable-05513992c69d159e698bb4b5f651abd0ceff525c.tar.gz linux-stable-05513992c69d159e698bb4b5f651abd0ceff525c.tar.bz2 linux-stable-05513992c69d159e698bb4b5f651abd0ceff525c.zip |
MIPS: Remove invalid check
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].
[ralf@linux-mips.org: Chris Dearman's original commit
9318c51acd9689505850152cc98277a6d6f2d752 ([MIPS] MIPS32/MIPS64 secondary
cache management) introduced these less than zero checks in 2.6.18.]
[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Cc: linux-kernel@vger.kernel.org
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Chris Dearman <chris.dearman@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11165/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions