mbox field of omap_mbox_queue structure is never assigned to the mailbox owner. Causing kernel panic when dereference it. Signed-off-by: Fernando Guzman Lugo <x0095840@xxxxxx> --- arch/arm/plat-omap/mailbox.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/mailbox.c b/arch/arm/plat-omap/mailbox.c index c59c9c3..b1e0e8f 100644 --- a/arch/arm/plat-omap/mailbox.c +++ b/arch/arm/plat-omap/mailbox.c @@ -217,6 +217,7 @@ static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, return NULL; spin_lock_init(&mq->lock); + mq->mbox = mbox; if (kfifo_alloc(&mq->fifo, mbox_kfifo_size, GFP_KERNEL)) goto error; -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html