diff options
| author | Lukas Wunner <lukas@wunner.de> | 2026-07-24 17:24:03 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-07-24 17:33:58 -0500 |
| commit | 8446e1147f65563d374ffa54dc3ba81adb1342c5 (patch) | |
| tree | bf2a8cc9acc9bafe0e363a31f5e5f4eff135f148 /scripts/Makefile.thinlto | |
| parent | 9247e45c00cb93eb8fce7051517545cb3ff4a6b4 (diff) | |
| download | linux-stable-8446e1147f65563d374ffa54dc3ba81adb1342c5.tar.gz linux-stable-8446e1147f65563d374ffa54dc3ba81adb1342c5.zip | |
PCI/AER: Deduplicate logging of Error Source Identification
aer_print_source() already logs the Error Source Identification Register:
AER: Multiple Correctable error message received from 0000:b7:02.0
However aer_print_error() subsequently identifies the Error Source once
more by emitting an "Error of this Agent is reported first" message.
The additional message was introduced by commit 0d465f23502e ("PCI: pcie,
aer: fix report of multiple errors") because it deemed the message emitted
by aer_print_source() confusing: When the Multiple ERR_COR Received or
Multiple ERR_FATAL/NONFATAL Received bit in the Root Error Status Register
is set, it doesn't mean that all errors originated from the device in the
Error Source Identification Register. Rather, the errors may have come
from multiple distinct devices. The commit sought to make that clearer.
Achieve the commit's objective by rephrasing the message emitted by
aer_print_source() and drop the additional message logged by
aer_print_error() to reduce dmesg noisiness and simplify the code.
While modifying the log message anyway, fix minor grammatical issues:
Append a plural "s" to "message", add a missing closing brace to "(no
details found" and capitalize "Error" to match the spec.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/3a5d1624d6912db1bc8c4e89e7a6a72ac510f4dc.1784905909.git.lukas@wunner.de
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
