diff options
| author | Stefan Wahren <[email protected]> | 2018-05-26 10:24:00 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2018-06-06 16:51:59 +0000 |
| commit | 00ee3a13a91be0ac250b89873043a3d2508f1208 (patch) | |
| tree | ad3f45f4b2adf09230294f5255057f848c699343 /drivers/mailbox/qcom-apcs-ipc-mailbox.c | |
| parent | mailbox: qcom: Add msm8998 hmss compatible (diff) | |
| download | kernel-00ee3a13a91be0ac250b89873043a3d2508f1208.tar.gz kernel-00ee3a13a91be0ac250b89873043a3d2508f1208.zip | |
mailbox: bcm2835: Fix of_xlate return value
The bcm2835-mailbox returns NULL instead of an error pointer, which could
result in a NULL ptr dereference in mbox_request_channel. So fix this
by returning a proper error pointer.
Signed-off-by: Stefan Wahren <[email protected]>
Fixes: 0bae6af6d704 ("mailbox: Enable BCM2835 mailbox support")
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/mailbox/qcom-apcs-ipc-mailbox.c')
0 files changed, 0 insertions, 0 deletions
