summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorRobert Richter <rrichter@amd.com>2023-05-19 23:54:35 +0200
committerDan Williams <dan.j.williams@intel.com>2023-05-19 17:47:01 -0700
commita70fc4ed20a6118837b0aecbbf789074935f473b (patch)
treed2ca2b9dd2646ba9281eb1713d73f32ba3c9cb46 /drivers/nvdimm
parente764f12208b99ac7892c4e3f6bf88d71ca71036f (diff)
downloadlinux-stable-a70fc4ed20a6118837b0aecbbf789074935f473b.tar.gz
linux-stable-a70fc4ed20a6118837b0aecbbf789074935f473b.tar.bz2
linux-stable-a70fc4ed20a6118837b0aecbbf789074935f473b.zip
cxl/port: Fix NULL pointer access in devm_cxl_add_port()
In devm_cxl_add_port() the port creation may fail and its associated pointer does not contain a valid address. During error message generation this invalid port address is used. Fix that wrong address access. Fixes: f3cd264c4ec1 ("cxl: Unify debug messages when calling devm_cxl_add_port()") Signed-off-by: Robert Richter <rrichter@amd.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20230519215436.3394532-1-rrichter@amd.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions