diff options
| author | 2015-09-21 15:33:49 +0200 | |
|---|---|---|
| committer | 2015-09-22 16:14:31 -0700 | |
| commit | 8f89642fa10bb6ec02feaa8e3d1d62df671d0207 (patch) | |
| tree | 6a2959940201d4dea2e94a29e4b7f7a4d1824cc0 /tools/perf/scripts/python | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
