]> git.baikalelectronics.ru Git - kernel.git/commit
Input: qt602240_ts - fix wrong sizeof in object table allocation
authorChris Leech <christopher.leech@linux.intel.com>
Thu, 18 Nov 2010 07:59:54 +0000 (23:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 Nov 2010 08:17:12 +0000 (00:17 -0800)
commit9fb909752b89a5808e732cb1a25c570b6089b9a8
treece5018c4808f402ed219b82d2ccab828bf241b25
parent73ae356e5985cabad0f851b73c41c4a6d964c8b9
Input: qt602240_ts - fix wrong sizeof in object table allocation

The kcalloc call for the object table is using sizeof(struct qt602240_data)
when it should be using sizeof(struct qt6602240_object), resulting in a larger
allocation than is required.

Signed-off-by: Chris Leech <christopher.leech@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/qt602240_ts.c