vchiq_arm: Access the dequeue_pending flag locked
authorPhil Elwell <phil@raspberrypi.org>
Wed, 23 Mar 2016 14:16:25 +0000 (14:16 +0000)
committerJaechul Lee <jcsing.lee@samsung.com>
Fri, 18 Aug 2017 01:04:51 +0000 (10:04 +0900)
commit4fdaf8c23f8d3dcd6d6133714401189db39f4bb2
tree4c14dc9f05f0682e7f99055f02eb398dedaa829a
parentc50248b9609994cd948431463146c0a4ddaa7af7
vchiq_arm: Access the dequeue_pending flag locked

Reading through this code looking for another problem (now found in userland)
the use of dequeue_pending outside a lock didn't seem safe.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c