Functions that use an Error **errp parameter to return errors should
not also report them to the user, because reporting is the caller's
job. When the caller does, the error is reported twice. When it
doesn't (because it recovered from the error), there is no error to
report, i.e. the report is bogus.
cxl_fmws_link_targets() violates this principle: it calls
error_setg(&error_fatal, ...) via cxl_fmws_link(). Goes back to
commit
|
||
|---|---|---|
| .. | ||
| cxl-cdat.c | ||
| cxl-component-utils.c | ||
| cxl-device-utils.c | ||
| cxl-events.c | ||
| cxl-host-stubs.c | ||
| cxl-host.c | ||
| cxl-mailbox-utils.c | ||
| Kconfig | ||
| meson.build | ||
| switch-mailbox-cci.c | ||