]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[PATCH] Wrong out of range check in drivers/char/applicom.c
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 11 Apr 2006 05:54:36 +0000 (22:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:46 +0000 (06:18 -0700)
commite60b6e2f747e94358fed9a23afd6abd738de4bf7
treebdfa71daf5ac502b9f21a54a71863fd2d364ce77
parentfd5403c79bc21819f6e0c40ba098cea8b6a418bd
[PATCH] Wrong out of range check in drivers/char/applicom.c

This fixes coverity bug id #469.  The out of range check didnt work as
intended, as seen by the printk(), which states that boardno has to be 1 <=
boardno <= MAX_BOARD.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/applicom.c