Re: [PATCH] PM: Acquire device locks on suspend

From: Alan Stern
Date: Sun Jan 06 2008 - 17:12:13 EST


On Sun, 6 Jan 2008, Rafael J. Wysocki wrote:

> On Sunday, 6 of January 2008, Alan Stern wrote:

> Still, shouldn't we fail the removal of the device apart from giving the
> warning?

We can't. device_del() can't fail -- it returns void. Besides, how
can a driver hope to deal with an unregistration failure?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/