Re: [PATCH] staging: lustre: acl: fix ifnullfree.cocci warnings

2015-11-09 Thread Julia Lawall
On Mon, 9 Nov 2015, Greg KH wrote: > On Tue, Nov 10, 2015 at 03:43:50AM +0800, kbuild test robot wrote: > > drivers/staging/lustre/lustre/llite/xattr.c:199:2-7: WARNING: NULL check > > before freeing functions like kfree, debugfs_remove, > > debugfs_remove_recursive or usb_free_urb is not need

Re: [PATCH] staging: lustre: acl: fix ifnullfree.cocci warnings

2015-11-09 Thread Greg KH
On Tue, Nov 10, 2015 at 03:43:50AM +0800, kbuild test robot wrote: > drivers/staging/lustre/lustre/llite/xattr.c:199:2-7: WARNING: NULL check > before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive > or usb_free_urb is not needed. Maybe consider reorganizing relevant code

[PATCH] staging: lustre: acl: fix ifnullfree.cocci warnings

2015-11-09 Thread kbuild test robot
drivers/staging/lustre/lustre/llite/xattr.c:199:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. NULL check before some freeing functions