[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150922.161541.158654696480248167.davem@davemloft.net>
Date: Tue, 22 Sep 2015 16:15:41 -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, brudley@...adcom.com, arend@...adcom.com,
frankyl@...adcom.com, meuleman@...adcom.com, kvalo@...eaurora.org,
linux-wireless@...r.kernel.org, brcm80211-dev-list@...adcom.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 20/38] net: brcm80211: fix range check
From: Andrzej Hajda <a.hajda@...sung.com>
Date: Mon, 21 Sep 2015 15:33:52 +0200
> Unsigned minus constant is still unsigned so checking its sign 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