[Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing
Tony Lindgren
tony at atomide.com
Mon Jun 18 13:51:22 CEST 2018
* Christ van Willegen <cvwillegen at gmail.com> [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
More information about the Letux-kernel
mailing list