Messages in this thread | | | Date | Tue, 22 Sep 2015 16:15:24 -0700 (PDT) | Subject | Re: [PATCH 23/38] rndis_wlan: fix checking for default value | From | David Miller <> |
| |
From: Andrzej Hajda <a.hajda@samsung.com> Date: Mon, 21 Sep 2015 15:33:55 +0200
> Thresholds uses -1 to indicate that default value should be used. > Since thresholds are unsigned sign checking makes no sense. > > 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 <a.hajda@samsung.com>
Applied.
| |