staging: vchiq_core: Bail out in case of invalid tx_pos
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 25 May 2017 22:26:25 +0000 (00:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2017 15:04:13 +0000 (17:04 +0200)
commitd1eab9dec6108e68d43d869a3b6645cc1df3fa9d
tree224c6c917bb15562143f780192e682bd644268cf
parent6f2370d260c4dc6eba1de2b4f55786f99abf937c
staging: vchiq_core: Bail out in case of invalid tx_pos

Properly handle the error case in case of an invalid tx_pos.

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