]> git.baikalelectronics.ru Git - kernel.git/commit
Fix stack buffer size for IPC writev messages
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 26 Jul 2010 09:04:24 +0000 (10:04 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:50:31 +0000 (09:50 -0400)
commitae3c27fa647fb1879e89966d7842267280f3ade7
treeac07e343da1fb1f5c9ae4de15b5d6b751088300d
parentdbc8e2de335ecb15dedc58658842ab9d8518a22e
Fix stack buffer size for IPC writev messages

The stack buffer for IPC messages was 16 bytes, limiting messages to a
size of 4 (each message is 32 bit).
However, the touch screen driver is trying to send messages of size 5....

(AC: Set to 20 bytes having checked the max size allowed)

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_scu_ipc.c