Re: [PATCH] kvfree_rcu(): fix ifnullfree.cocci warnings

2020-09-28 Thread Paul E. McKenney
On Sun, Sep 27, 2020 at 06:55:19PM -0400, Joel Fernandes wrote: > On Sun, Sep 27, 2020 at 03:00:29PM +0200, Julia Lawall wrote: > > From: kernel test robot > > > > NULL check before kfree is not needed. > > > > Generated by: scripts/coccinelle/free/ifnullfree.cocci > > > > Fixes: e9bed2a1239b

Re: [PATCH] kvfree_rcu(): fix ifnullfree.cocci warnings

2020-09-27 Thread Joel Fernandes
On Sun, Sep 27, 2020 at 03:00:29PM +0200, Julia Lawall wrote: > From: kernel test robot > > NULL check before kfree is not needed. > > Generated by: scripts/coccinelle/free/ifnullfree.cocci > > Fixes: e9bed2a1239b ("kvfree_rcu(): Switch to kmalloc() and kfree() for > allocations") >

[PATCH] kvfree_rcu(): fix ifnullfree.cocci warnings

2020-09-27 Thread Julia Lawall
From: kernel test robot NULL check before kfree is not needed. Generated by: scripts/coccinelle/free/ifnullfree.cocci Fixes: e9bed2a1239b ("kvfree_rcu(): Switch to kmalloc() and kfree() for allocations") Signed-off-by: kernel test robot Signed-off-by: Julia Lawall --- tree: