]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vc04_services: Fix an error code in vchiq_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 25 Mar 2019 08:56:59 +0000 (11:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2019 20:54:18 +0000 (05:54 +0900)
commit8728b4a0ebcfc09366b46b6a8b7b90b086750329
tree9dea5314883cf1ea964e13514b2a06051e93b5ee
parent6a35937035b4de92ebc66a40b0f287eb5f5c0929
staging: vc04_services: Fix an error code in vchiq_probe()

We need to set "err" on this error path.

Fixes: ea7a2fe7ad06 ("staging: vchiq_arm: rework probe and init functions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-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