Messages in this thread | | | Date | Tue, 22 Sep 2015 17:43:51 +0200 | From | Ralf Baechle <> | Subject | Re: [PATCH 36/38] MIPS: remove invalid check |
| |
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/2038576
Chris Dearman's original commit 9318c51acd9689505850152cc98277a6d6f2d752 ([MIPS] MIPS32/MIPS64 secondary cache management) introduced these less than zero checks in 2.6.18. They're fortunately entirely harmless.
Patch queued for 4.4. Thanks!
Ralf
| |