aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2025-03-21 10:35:01 +0000
committerJakub Kicinski <[email protected]>2025-03-24 20:26:02 +0000
commit53cd6820f5a05dd7f982f7da85af7d185b3e4992 (patch)
tree7d636f62b0f15b4c0bfe27c505f70cd142d52d70 /net/unix/garbage.c
parentselftests: drv-net: rss_ctx: Don't assume indirection table is present (diff)
downloadkernel-53cd6820f5a05dd7f982f7da85af7d185b3e4992.tar.gz
kernel-53cd6820f5a05dd7f982f7da85af7d185b3e4992.zip
net: stmmac: Call xpcs_config_eee_mult_fact() only when xpcs is present
Some dwmac variants such as dwmac_socfpga don't use xpcs but lynx_pcs. Don't call xpcs_config_eee_mult_fact() in this case, as this causes a crash at init : Unable to handle kernel NULL pointer dereference at virtual address 00000039 when write [...] Call trace: xpcs_config_eee_mult_fact from stmmac_pcs_setup+0x40/0x10c stmmac_pcs_setup from stmmac_dvr_probe+0xc0c/0x1244 stmmac_dvr_probe from socfpga_dwmac_probe+0x130/0x1bc socfpga_dwmac_probe from platform_probe+0x5c/0xb0 Fixes: 060fb27060e8 ("net: stmmac: call xpcs_config_eee_mult_fact()") Signed-off-by: Maxime Chevallier <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions