Re: [PATCH] memzone: remove unnecessary null checks

2024-07-07 Thread Thomas Monjalon
19/06/2024 02:15, Tyler Retzlaff: > On Tue, Jun 18, 2024 at 04:25:08PM -0700, Stephen Hemminger wrote: > > The function rte_memzone_free() already checks if the argument > > is NULL. Add it to the coccinelle fix script and correct > > all the existing code. > > > > Signed-off-by: Stephen Hemminger

RE: [PATCH] memzone: remove unnecessary null checks

2024-06-19 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > > The function rte_memzone_free() already checks if the argument > is NULL. Add it to the coccinelle fix script and correct > all the existing code. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Morten Brørup

Re: [PATCH] memzone: remove unnecessary null checks

2024-06-18 Thread Tyler Retzlaff
On Tue, Jun 18, 2024 at 04:25:08PM -0700, Stephen Hemminger wrote: > The function rte_memzone_free() already checks if the argument > is NULL. Add it to the coccinelle fix script and correct > all the existing code. > > Signed-off-by: Stephen Hemminger > --- Reviewed-by: Tyler Retzlaff

[PATCH] memzone: remove unnecessary null checks

2024-06-18 Thread Stephen Hemminger
The function rte_memzone_free() already checks if the argument is NULL. Add it to the coccinelle fix script and correct all the existing code. Signed-off-by: Stephen Hemminger --- app/test-mldev/test_inference_common.c | 6 ++ devtools/cocci/nullfree.cocci | 3 +++ drivers/crypto/ip