diff options
author | 2025-05-22 18:21:23 -0500 | |
---|---|---|
committer | 2025-05-23 11:11:45 -0500 | |
commit | d72bae423004aa7b4d94c34a7fd0b48b64305a08 (patch) | |
tree | 3020d018138aa2f727745faac6dd2602f6c109f6 /tools/perf/scripts/python | |
parent | PCI/AER: Convert aer_get_device_error_info(), aer_print_error() to index (diff) | |
download | wireguard-linux-d72bae423004aa7b4d94c34a7fd0b48b64305a08.tar.xz wireguard-linux-d72bae423004aa7b4d94c34a7fd0b48b64305a08.zip |
PCI/AER: Simplify add_error_device()
Return -ENOSPC error early so the usual path through add_error_device() is
the straightline code.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/20250522232339.1525671-18-helgaas@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions