diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2015-09-21 15:33:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-22 16:14:31 -0700 |
commit | 8f89642fa10bb6ec02feaa8e3d1d62df671d0207 (patch) | |
tree | 6a2959940201d4dea2e94a29e4b7f7a4d1824cc0 /scripts/checkversion.pl | |
parent | 99cb99aa055a72d3880d8a95a71034c4d64bcf9a (diff) |
isdn: hisax: fix frame calculation
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@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/checkversion.pl')
0 files changed, 0 insertions, 0 deletions