Skip to content
Commit 9b63a810 authored by Minjie Du's avatar Minjie Du Committed by Jassi Brar
Browse files

mailbox: mailbox-test: Fix an error check in mbox_test_probe()



mbox_test_request_channel() function returns NULL or
error value embedded in the pointer (PTR_ERR).
Evaluate the return value using IS_ERR_OR_NULL.

Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent fb5bda8c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment