diff options
author | Robert Richter <[email protected]> | 2022-12-05 12:21:40 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2022-12-05 15:37:09 -0800 |
commit | d3cdf4585f2f9122d1165acca40e801c75afa320 (patch) | |
tree | f4033fd4446d34237aff8db2434e87a98a495743 /drivers/fpga/fpga-mgr.c | |
parent | 878b2de67af7095ddd35da859a9ef8db15a36163 (diff) |
cxl/acpi: Warn about an invalid CHBCR in an existing CHBS entry
After parsing for a CHBCR in cxl_get_chbcr() the case of (ctx.chbcr ==
CXL_RESOURCE_NONE) is a slighly different error reason than the
!ctx.chbcr case. In the first case the CHBS was found but the CHBCR
was invalid or something else failed to determine it, while in the
latter case no CHBS entry exists at all.
Update the warning message to reflect this. The log messages for both
cases can be differentiated now and the reason for a failure can be
determined better.
Signed-off-by: Robert Richter <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/167027170051.3542509.10494781536638424397.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions