diff options
| author | Dan Carpenter <[email protected]> | 2023-02-09 16:43:45 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-02-14 14:22:57 +0100 |
| commit | 77191db5ba7bd321fbbf4315675ee774a2b5a362 (patch) | |
| tree | 34a0a376f5584eebffbe7831b4993bab7205d55b /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | c4a07e264d38d5cad5d77298957cbd7d7db70b1f (diff) | |
xhci: host: potential NULL dereference in xhci_generic_plat_probe()
It's possible to exit the loop with "sysdev" set to NULL. In that
case we should use "&pdev->dev".
Fixes: ec5499d338ec ("xhci: split out rcar/rz support from xhci-plat.c")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/Y+T4kTcJwRwxNHJq@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions