]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: snyclinkmp: calculating wrong addresses
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 19 Jul 2013 05:53:13 +0000 (08:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 22:23:38 +0000 (15:23 -0700)
commitfb2b3d857d6715e58667105c9b8de0ebd26d2292
tree4390f91feb8fea101269cccf9e2a4d6a7d6ad0cd
parent617537d2ebf9f8060e43c17ed9a7bf6d98b03f36
TTY: snyclinkmp: calculating wrong addresses

This is a static checker fix and I don't have a way to test it.  But
from the context it looks like this is a typo where SCABUFSIZE was
intended instead of sizeof(SCABUFSIZE).  SCABUFSIZE is 1024 and
sizeof(int) is 4.  I would suspect this is a bad bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/synclinkmp.c