diff options
| author | Robert Richter <[email protected]> | 2023-05-19 21:54:35 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2023-05-20 00:47:01 +0000 |
| commit | a70fc4ed20a6118837b0aecbbf789074935f473b (patch) | |
| tree | d2ca2b9dd2646ba9281eb1713d73f32ba3c9cb46 /drivers/usb/cdns3/cdns3-trace.h | |
| parent | cxl: Move cxl_await_media_ready() to before capacity info retrieval (diff) | |
| download | kernel-a70fc4ed20a6118837b0aecbbf789074935f473b.tar.gz kernel-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 <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions
