zero the stack buffer before giving random garbage to the SCU
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 26 Jul 2010 09:04:37 +0000 (10:04 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:50:31 +0000 (09:50 -0400)
commited6f2b4da32913875355f5c9cbbb38e4168b7801
treeeb195b81e86a047653f60e8ae17616a1252b143f
parent51cd525dce018f298568d8e2e769b1a698ef91cd
zero the stack buffer before giving random garbage to the SCU

some messages take 4 bytes, but only fill 3 bytes....
this patch makes sure that whatever we send to the SCU is zeroed first

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