diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2022-11-02 14:13:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-03 23:46:00 +0900 |
commit | 7a09c1269702db8eccb6f718da2b00173e1e0034 (patch) | |
tree | 29129820f9e478d0ef4c3ecc4dce94f1ec3ae185 /drivers/usb/core/sysfs.c | |
parent | 8527e94216902cab5b483e2450db93c11109ff97 (diff) | |
download | linux-stable-7a09c1269702db8eccb6f718da2b00173e1e0034.tar.gz linux-stable-7a09c1269702db8eccb6f718da2b00173e1e0034.tar.bz2 linux-stable-7a09c1269702db8eccb6f718da2b00173e1e0034.zip |
USB: core: Change configuration warnings to notices
It has been pointed out that the kernel log messages warning about
problems in USB configuration and related descriptors are vexing for
users. The warning log level has a fairly high priority, but the user
can do nothing to fix the underlying errors in the device's firmware.
To reduce the amount of useless information produced by tools that
filter high-priority log messages, we can change these warnings to
notices, i.e., change dev_warn() to dev_notice(). The same holds for
a few messages that currently use dev_err(): Unless they indicate a
failure that might make a device unusable (such as inability to
transfer a config descriptor), change them to dev_notice() also.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216630
Suggested-by: Artem S. Tashkinov <aros@gmx.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/Y2KzPx0h6z1jXCuN@rowland.harvard.edu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/sysfs.c')
0 files changed, 0 insertions, 0 deletions