]> git.baikalelectronics.ru Git - kernel.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)
commit633786aa42142db7c3189c359f24ff976e98549c
tree21ef10d9187cc33f67dcf40832cb5921b5d9a02a
parent0ac612b98fbaa659e0edfe831b932181237a082f
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