]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cr_backlight_probe() allocates too little storage for struct cr_panel
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 20 Jul 2007 07:31:47 +0000 (00:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:46 +0000 (14:27 -0700)
commit749de926ff8a21e94a6771ad02fff49d99dc2a90
tree52401a5a3e275f7b2a82e79ed3fc644df3a6357e
parentb308574d183b5a91f52918bda2c0129b64527756
cr_backlight_probe() allocates too little storage for struct cr_panel

The Coverity checker noticed that we allocate too little storage for
"struct cr_panel *crp" in cr_backlight_probe().

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Thomas Hellstrom <thomas@tungstengraphics.com>
Cc: Alan Hourihane <alanh@tungstengraphics.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/backlight/cr_bllcd.c