]> git.karo-electronics.de Git - linux-beck.git/commit
backlight: Fix tdo24m crash on kmalloc
authorAviv Laufer <aviv.laufer@gmail.com>
Tue, 23 Jun 2009 13:28:36 +0000 (16:28 +0300)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 23 Jun 2009 19:32:58 +0000 (20:32 +0100)
commit1d469c6c38c9deaa1836d2c1955330944719e4ef
treeea22b1dd726d489395f7dd1b486352f8481fcf3d
parentd888a4c76c51092993643f8992bf55b3c28da483
backlight: Fix tdo24m crash on kmalloc

There is  a crash in tdo24m module caused by a call to kmalloc with
the second parameter sizeof(flag) instead of flag.

Signed-off-by: Aviv Laufer <aviv.laufer@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/tdo24m.c