aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2022-09-04 21:53:19 +0000
committerPaolo Abeni <[email protected]>2022-09-06 09:18:15 +0000
commit42b998d4aa59b9dea51665e4f3be1d733c47e2bf (patch)
tree6a932db3753eabeb760776f701f48c0772f6d5e3 /drivers/usb/cdns3/cdns3-imx.c
parenttcp: fix early ETIMEDOUT after spurious non-SACK RTO (diff)
downloadkernel-42b998d4aa59b9dea51665e4f3be1d733c47e2bf.tar.gz
kernel-42b998d4aa59b9dea51665e4f3be1d733c47e2bf.zip
net: dsa: qca8k: fix NULL pointer dereference for of_device_get_match_data
of_device_get_match_data is called on priv->dev before priv->dev is actually set. Move of_device_get_match_data after priv->dev is correctly set to fix this kernel panic. Fixes: 3bb0844e7bcd ("net: dsa: qca8k: cache match data to speed up access") Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions