Re: [PATCH 01/10] driver core: Pull required checks into driver_probe_device()

2021-06-15 Thread Cornelia Huck
On Mon, Jun 14 2021, Christoph Hellwig wrote: > From: Jason Gunthorpe > > Checking if the dev is dead or if the dev is already bound is a required > precondition to invoking driver_probe_device(). All the call chains > leading here duplicate these checks. > > Add it directly to

Re: [PATCH 01/10] driver core: Pull required checks into driver_probe_device()

2021-06-14 Thread Greg Kroah-Hartman
On Mon, Jun 14, 2021 at 05:08:37PM +0200, Christoph Hellwig wrote: > From: Jason Gunthorpe > > Checking if the dev is dead or if the dev is already bound is a required > precondition to invoking driver_probe_device(). All the call chains > leading here duplicate these checks. > > Add it