[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150922.161524.1515837996577333930.davem@davemloft.net>
Date: Tue, 22 Sep 2015 16:15:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: a.hajda@...sung.com
Cc: linux-kernel@...r.kernel.org, b.zolnierkie@...sung.com,
m.szyprowski@...sung.com, jussi.kivilinna@....fi,
kvalo@...eaurora.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 23/38] rndis_wlan: fix checking for default value
From: Andrzej Hajda <a.hajda@...sung.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@...sung.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists