[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150922.161534.944462954756442156.davem@davemloft.net>
Date: Tue, 22 Sep 2015 16:15:34 -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, isdn@...ux-pingi.de,
netdev@...r.kernel.org
Subject: Re: [PATCH 17/38] isdn: hisax: fix frame calculation
From: Andrzej Hajda <a.hajda@...sung.com>
Date: Mon, 21 Sep 2015 15:33:49 +0200
> Difference of unsigned values is also unsigned so it does not make
> sense to check its sign.
>
> 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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists