Re: [PATCH] mailbox: add async request mechanism to empower controllers w/ hw queues

From: Tudor Ambarus
Date: Mon Oct 07 2024 - 02:06:04 EST




On 10/4/24 5:53 PM, Tudor Ambarus wrote:
> void mbox_free_channel(struct mbox_chan *chan)
> {
> + struct mbox_controller *mbox = chan->mbox;

oops, I dereferenced before checking chan for null. I'll fix it after I
get some feedback on the overall idea.

> unsigned long flags;
>
> if (!chan || !chan->cl)
> return;

Thanks,
ta