[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180618115122.GT26255@atomide.com>
Date: Mon, 18 Jun 2018 04:51:22 -0700
From: Tony Lindgren <tony@...mide.com>
To: Christ van Willegen <cvwillegen@...il.com>
Cc: Discussions about the Letux Kernel <letux-kernel@...nphoenux.org>,
Linus Walleij <linus.walleij@...aro.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
kernel@...a-handheld.com
Subject: Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in
pinctrl_groups and deferred probing
* Christ van Willegen <cvwillegen@...il.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
Powered by blists - more mailing lists