aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorHaoxiang Li <[email protected]>2025-07-03 10:01:09 +0000
committerJakub Kicinski <[email protected]>2025-07-08 15:34:05 +0000
commit95a234f6affbf51f06338383537ab80d637bb785 (patch)
tree6c34a273d25cde72a31473c1100eb7ec8c6339d4 /rust/helpers/cpu.c
parentMerge branch 'allwinner-a523-rename-emac0-to-gmac0' (diff)
downloadkernel-95a234f6affbf51f06338383537ab80d637bb785.tar.gz
kernel-95a234f6affbf51f06338383537ab80d637bb785.zip
net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe()
Add check for the return value of rcar_gen4_ptp_alloc() to prevent potential null pointer dereference. Fixes: b0d3969d2b4d ("net: ethernet: rtsn: Add support for Renesas Ethernet-TSN") Cc: [email protected] Signed-off-by: Haoxiang Li <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions