staging: vchiq_core: Bail out if service is NULL
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 25 May 2017 22:26:22 +0000 (00:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2017 15:04:13 +0000 (17:04 +0200)
commit6b8db0bce33d75b1181e86e55305e1e320102440
treefc5c30c5d17b5730748fc3c66e755bf9ad9c5c13
parent00b9d0f560a6a7b667dda056423b2e50b52e574c
staging: vchiq_core: Bail out if service is NULL

In the unlikely case that service is NULL we should bail out instead
of calling BUG_ON(). The other BUG_ON calls will be fixed in separate
patches.

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