kobject: align stacktrace levels to logging message
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 11 Mar 2023 03:14:47 +0000 (03:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 14:15:23 +0000 (15:15 +0100)
commit64414da25baf3acf31350f75fdd10514bd8390b1
tree81b965feb304a3b76eb8239d5ab2d8c4af16c96e
parent984063339e9ec9b6d9b011169d1f330a505a7571
kobject: align stacktrace levels to logging message

Without an explicit level the stacktraces are printed at a default
level.
If this level does not match the one from the logging level it may
happen that the stacktrace is shown without the message or vice versa.

Both these cases are confusing, so make sure the user always sees both,
the message and the stacktrace.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230311-kobject-warning-v1-2-1ebba4f71fb5@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/kobject.c