]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: rtl8192e: printing the wrong array
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 May 2013 06:57:36 +0000 (09:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:46:28 +0000 (20:46 +0900)
commit03e71d6b91d970900747cd64bbd9bbbe0e9489f8
tree21ef10d9187cc33f67dcf40832cb5921b5d9a02a
parent1c8103f7c64f566588e3beeeaa41140bc88f32d6
Staging: rtl8192e: printing the wrong array

Smatch complained that there is an array overflow here.  It looks
like we are supposed to be printing the ->rates_ex[] array which is
slightly larger than the ->rates[] array.  This is a cut and paste
error.

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