aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-09-30 12:48:43 +0800
committerDavid S. Miller <[email protected]>2022-10-03 12:35:21 +0100
commit9e6fd874c7bb47b6a4295abc4c81b2f41b97e970 (patch)
tree43b7a086264b8fb07e62ab60fec29f302328fc06 /scripts/generate_rust_analyzer.py
parent73ea735073599430818e89b8901452287a15a718 (diff)
net: prestera: acl: Add check for kmemdup
As the kemdup could return NULL, it should be better to check the return value and return error if fails. Moreover, the return value of prestera_acl_ruleset_keymask_set() should be checked by cascade. Fixes: 604ba230902d ("net: prestera: flower template support") Signed-off-by: Jiasheng Jiang <[email protected]> Reviewed-by: Taras Chornyi<[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions