diff options
| author | Dan Carpenter <[email protected]> | 2023-10-31 12:53:52 +0300 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2023-10-31 14:09:50 -0700 |
| commit | 69d56b15a7941680aba8c3175b165221ecdf54b6 (patch) | |
| tree | fa329de08f46f405928309f0b06e015fd800efd5 /drivers/cdx/controller/mcdi_functions.c | |
| parent | b3cfdbf6a062bcfb431153f92d6bc1ad20bfc687 (diff) | |
cxl/hdm: Fix && vs || bug
If "info" is NULL then this code will crash. || was intended instead of
&&.
Fixes: 8ce520fdea24 ("cxl/hdm: Use stored Component Register mappings to map HDM decoder capability")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Robert Richter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions