On Mon, Jul 04, 2016 at 08:59:53AM +0000, Kuninori Morimoto wrote:

> > If we try to dereference card->dai_link without checking to see if it's
> > set then we'll crash.

> Ahh, do you mean we need like this ?

> if (!card->name && card->dai_link)
>       card->name = card->dai_link->name;

Yes, exactly.

Attachment: signature.asc
Description: PGP signature

Reply via email to