staging: vchiq_core: Don't BUG if process is unexpected
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 25 May 2017 22:26:24 +0000 (00:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2017 15:04:13 +0000 (17:04 +0200)
commit6f2370d260c4dc6eba1de2b4f55786f99abf937c
tree582be704810c6691d7e391b301a0b255a8a4eec9
parent5d1a94bb284c8d97b056e8025169609e78b7052f
staging: vchiq_core: Don't BUG if process is unexpected

Bail out properly if the process index doesn't match the remote insert.
We also drop the BUG in case the process index is at local insert,
so we can trigger the WARN_ON again some steps later.

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_core.c