Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing

From: Tony Lindgren
Date: Mon Jun 18 2018 - 07:51:33 EST


* Christ van Willegen <cvwillegen@xxxxxxxxx> [180618 10:01]:
> > --- a/drivers/pinctrl/core.c
> > +++ b/drivers/pinctrl/core.c
> > + if (!strcmp(function, gname))
>
>
> This could never fail? gname guaranteed to never == NULL?

Thanks I'll add checks to make sure we always have a valid
name for new functions and groups added.

Regards,

Tony