drivers: base: Print error code on synthetic uevent failure
authorBrian Norris <briannorris@chromium.org>
Wed, 24 Aug 2022 23:52:16 +0000 (16:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2022 16:15:50 +0000 (18:15 +0200)
commit6bb7ea3afd3eaae95eda6ef5589c3087f2cd70d8
treee3ef481fb29259726a8ce96de2fc6f85dfd6db61
parente9628e015fe205f10766f031f17e217f85650570
drivers: base: Print error code on synthetic uevent failure

If we're going to log the failure, we might as well log the return code
too.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20220824165213.1.Ifdb98af3d0c23708a11d8d5ae5697bdb7e96a3cc@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c