[PATCH openEuler-5.10-LTS 03/31] driver core: fix deadlock in __driver_attach