[RFC v2][PATCH 0/2] PNP: Avoid potential error code path problems

From: Rafael J. Wysocki
Date: Thu Mar 12 2015 - 20:20:58 EST


On Thursday, March 12, 2015 02:20:07 AM Rafael J. Wysocki wrote:
> Hi,
>
> These two patches fix potential issues related to failing device registration
> in the PNP subsystem.

I overlooked the fact that the registration of a PNP device cannot be put
under pnp_lock (as it will deadlock), so new version follows. Patch [1/2]
is the same as before, but with a shorter changelog, patch [2/2] has been
reworked.

Thanks!

--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
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/