Re: [PATCH] mailbox: bcm2835: Fix of_xlate return value

From: Eric Anholt
Date: Wed May 30 2018 - 15:23:32 EST


Stefan Wahren <stefan.wahren@xxxxxxxx> writes:

> 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 <stefan.wahren@xxxxxxxx>
> Fixes: 0bae6af6d704 ("mailbox: Enable BCM2835 mailbox support")

Reviewed-by: Eric Anholt <eric@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature