staging: vchiq_arm: Fix unlocked access to dequeue_pending
authorPhil Elwell <phil@raspberrypi.org>
Tue, 17 Jan 2017 20:56:12 +0000 (20:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 10:08:57 +0000 (11:08 +0100)
commit72ed1db4cd4eb8bd7e46b5b6f9dd56b1b36fe660
treef9efac3a4f512e1a5f0c7bf637d9e1c31d81d2f2
parentc599a22e60f95f405fe6cb9f5b25d88fd7e59a7f
staging: vchiq_arm: Fix unlocked access to dequeue_pending

The dequeue_pending flag wasn't protected by a spinlock in the
service_callback. So fix this to make it safe.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c