commit | 561a10b6a15b531de359ccfc489488c733bb2821 | [log] [tgz] |
---|---|---|
author | Luis R. Rodriguez <mcgrof@kernel.org> | Mon Nov 20 09:45:34 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 29 11:07:00 2017 +0100 |
tree | ccac2a42a1a46fd34584ede08e1e2abc852c9fc5 | |
parent | 6bb9cf3aa3edf5968877d3f7863e232d4b9394a4 [diff] |
firmware: fix detecting error on register_reboot_notifier() register_reboot_notifier() can fail, detect this and address this failure. This has been broken since v3.11, however the chances of this failing here is really low. Fixes: fe304143b0c3d ("firmware: Avoid deadlock of usermodehelper lock at shutdown") Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>