]> git.baikalelectronics.ru Git - kernel.git/commit
staging: bcm: nvm.c: Cleaning up a array that is filled incompletely
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 8 Jun 2014 21:45:28 +0000 (23:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:03:29 +0000 (17:03 -0700)
commit7788805e0df2c4ac888aa20e92dfcd3ed611bd89
treec6a4c3c2d236b4f9c98c8a6880a0123db1b4099e
parent59e46b529515717b7d202b9dda4b1c6433f7b54a
staging: bcm: nvm.c: Cleaning up a array that is filled incompletely

Array 'SigBuff' is filled incompletely.
Someone forget to multiply for the sizeof type.

This was partly found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/nvm.c