aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memset.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2024-04-25 14:06:41 +0200
committerPablo Neira Ayuso <[email protected]>2024-05-06 16:29:22 +0200
commit80efd2997fb9343a0283cf3cac5524a4595c8ff4 (patch)
treef1fb6baa37faac86a2f1346b3e84d4aeb4bf53ac /lib/test_fortify/write_overflow-memset.c
parenta590f4760922acaa2d2b55a88004a38eecdd6412 (diff)
netfilter: nft_set_pipapo: make pipapo_clone helper return NULL
Currently it returns an error pointer, but the only possible failure is ENOMEM. After a followup patch, we'd need to discard the errno code, i.e. x = pipapo_clone() if (IS_ERR(x)) return NULL or make more changes to fix up callers to expect IS_ERR() code from set->ops->deactivate(). So simplify this and make it return ptr-or-null. Signed-off-by: Florian Westphal <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions