summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2006-12-08 13:38:57 +0300
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 19:28:58 +0300
commit17c4edf0c8ee670de7b33d2a24eddd7c6b7edcf6 (patch)
tree3c6d65a9f49d2319272e11ab14094266f381147d /tools/perf/scripts/python
parent11c838772d58d9807b1cb7fa4e0bec1b0302e318 (diff)
downloadlinux-17c4edf0c8ee670de7b33d2a24eddd7c6b7edcf6.tar.xz
[PATCH] Char: isicom, fix tty index check
Since tty->index is signed and may be < 0, we should assign this to int not uint. There is already a check to ensure if it is not negative, but gcc complains with -W flag enabled and it is perfectly correct: drivers/char/isicom.c:953: warning: comparison of unsigned expression < 0 is always false Fix this issue by converting `line' variable from uint to int. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions