diff options
| author | Mikhail Zaslonko <zaslonko@linux.ibm.com> | 2026-09-03 15:07:32 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-09-08 15:53:40 +0200 |
| commit | 22d4210bf988047bd30803cd6ef5177f113e4004 (patch) | |
| tree | 59d8d8dc1fcb3aa3c3e64289408926305e19d091 /scripts/Makefile.thinlto | |
| parent | b1eb31d533cdfcae1011ed53850d52f36afe5774 (diff) | |
| download | linux-stable-22d4210bf988047bd30803cd6ef5177f113e4004.tar.gz linux-stable-22d4210bf988047bd30803cd6ef5177f113e4004.zip | |
s390/debug: Do not repeat parameter override notice on debug_set_level()
Commit a2cec6863709 ("s390/debug: Add s390dbf kernel parameter") calls
debug_get_param() from both debug_info_create() and debug_set_level().
Since debug_get_param() emits the override notice unconditionally, and
drivers typically call debug_set_level() right after debug_register(),
the same line is printed twice per debug area:
s390dbf: 0.0.1234: override level to 6
s390dbf: 0.0.1234: override level to 6
For areas registered per device this is multiplied by the device count.
With 's390dbf=0.0.*:6' a system with many DASDs emits a large number of
redundant lines during boot.
Add a quiet parameter to debug_get_param() and pass quiet=true from
debug_set_level(), where the override has already been announced during
registration. The remaining callers keep printing the notice.
Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
