summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-10-31 12:53:52 +0300
committerDan Williams <dan.j.williams@intel.com>2023-11-01 00:09:50 +0300
commit69d56b15a7941680aba8c3175b165221ecdf54b6 (patch)
treefa329de08f46f405928309f0b06e015fd800efd5 /scripts/gcc-plugins/randomize_layout_plugin.c
parentb3cfdbf6a062bcfb431153f92d6bc1ad20bfc687 (diff)
downloadlinux-69d56b15a7941680aba8c3175b165221ecdf54b6.tar.xz
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 <dan.carpenter@linaro.org> Reviewed-by: Robert Richter <rrichter@amd.com> Link: https://lore.kernel.org/r/60028378-d3d5-4d6d-90fd-f915f061e731@moroto.mountain Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions