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