diff options
| author | Minjie Du <duminjie@vivo.com> | 2023-07-13 18:18:08 +0800 |
|---|---|---|
| committer | Jassi Brar <jaswinder.singh@linaro.org> | 2023-09-05 10:10:42 -0500 |
| commit | 9b63a810c6f95b65b26772f388966b85315d759f (patch) | |
| tree | b63475a4f4370335789891626ea291c9a57d9553 /scripts/rustdoc_test_builder.rs | |
| parent | fb5bda8cdeb42c78f8b732c898aff72d08d73537 (diff) | |
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: Minjie Du <duminjie@vivo.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions
