driver core: don't trigger uevent after failure
Do not send the uevent if driver_add_groups failed. Reported-by: NMing Lei <ming.lei@canonical.com> Signed-off-by: NSebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录