diff options
| author | Breno Leitao <[email protected]> | 2023-07-14 09:31:46 +0000 |
|---|---|---|
| committer | Vishal Verma <[email protected]> | 2023-07-18 17:55:09 +0000 |
| commit | 91019b5bc7c2c5e6f676cce80ee6d12b2753d018 (patch) | |
| tree | 3f2252841356164d5faebbb045586ca3b28153ac /tools/perf/builtin-script.c | |
| parent | cxl/acpi: Fix a use-after-free in cxl_parse_cfmws() (diff) | |
| download | kernel-91019b5bc7c2c5e6f676cce80ee6d12b2753d018.tar.gz kernel-91019b5bc7c2c5e6f676cce80ee6d12b2753d018.zip | |
cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
Driver initialization returned success (return 0) even if the
initialization (cxl_decoder_add() or acpi_table_parse_cedt()) failed.
Return the error instead of swallowing it.
Fixes: f4ce1f766f1e ("cxl/acpi: Convert CFMWS parsing to ACPI sub-table helpers")
Signed-off-by: Breno Leitao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Alison Schofield <[email protected]>
Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
