Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349

From: Tejun Heo
Date: Fri Mar 17 2017 - 10:48:55 EST


On Fri, Mar 17, 2017 at 10:28:34PM +0800, Icenowy Zheng wrote:
> > It's warning that the device has resources associated with it on
> > probe. There gotta be something fishy going on with the probing
> > sequence. How reproducible is the problem?
>
> Do you mean in the first probing trial the driver didn't clean up well?

Possibly but devres should have released all resources after the
previous probe failure or driver disassociation, so I have no idea how
there can be resources left on that list.

> With the same driver I didn't see this problem in 4.11-rc{1,2}.

devres hasn't changed, so I have no idea what changed that. Which
kernels are affected? Can you bisect if the problem is easily
reproducible?

Thanks.

--
tejun