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

2018-05-30 Thread Eric Anholt
Stefan Wahren 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 > Fixes: 0bae6af6d704 ("mailbox: Enable BCM2835 mailbo

[PATCH] mailbox: bcm2835: Fix of_xlate return value

2018-05-26 Thread Stefan Wahren
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 Fixes: 0bae6af6d704 ("mailbox: Enable BCM2835 mailbox support") --- drivers/mailbox/bc