staging: bcm2835-audio: allocate enough data for work queues
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Feb 2017 23:15:44 +0000 (02:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Feb 2017 18:19:45 +0000 (10:19 -0800)
commitf5e2199ae574245b56b32e047c93625a28fe3b3a
tree14623709c9fba398bf616e7487965abf5373fa1e
parent021fbaa5fb5b2f0c2d9938ee16c79358ba9bf06b
staging: bcm2835-audio: allocate enough data for work queues

We accidentally allocate sizeof(void *) bytes instead of 112 bytes.  It
results in memory corruption.

Fixes: 23b028c871e1 ("staging: bcm2835-audio: initial staging submission")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm2835-audio/bcm2835-vchiq.c