diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2025-05-22 18:21:23 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-05-23 11:11:45 -0500 |
commit | d72bae423004aa7b4d94c34a7fd0b48b64305a08 (patch) | |
tree | 3020d018138aa2f727745faac6dd2602f6c109f6 /tools/perf/scripts/python | |
parent | 94bc15c3484aa1dbbd01aee8f9eaa5dc347a01a8 (diff) |
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