[PATCH AUTOSEL 6.12 15/37] driver core: fix potential NULL pointer dereference in dev_uevent()