summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2025-06-18 09:37:40 +0200
committerJakub Kicinski <kuba@kernel.org>2025-06-19 08:34:13 -0700
commit78bd03ee1f20a267d2c218884b66041b3508ac9c (patch)
treeb7c200f7ed503950de643f1062fe8c751533f493 /rust/helpers/helpers.c
parentfc27ab48904ceb7e4792f0c400f1ef175edf16fe (diff)
net: airoha: Always check return value from airoha_ppe_foe_get_entry()
airoha_ppe_foe_get_entry routine can return NULL, so check the returned pointer is not NULL in airoha_ppe_foe_flow_l2_entry_update() Fixes: b81e0f2b58be3 ("net: airoha: Add FLOW_CLS_STATS callback support") Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20250618-check-ret-from-airoha_ppe_foe_get_entry-v2-1-068dcea3cc66@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions