OpenCloudOS-Kernel/drivers/staging/ccree
kbuild test robot 785185f4a3 staging: ccree: fix ifnullfree.cocci warnings
drivers/staging/ccree/ssi_hash.c:317: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.
drivers/staging/ccree/ssi_hash.c:320: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.
drivers/staging/ccree/ssi_hash.c:323: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.
drivers/staging/ccree/ssi_hash.c:373: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.
drivers/staging/ccree/ssi_hash.c:375: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.
drivers/staging/ccree/ssi_hash.c:377: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.
drivers/staging/ccree/ssi_hash.c:379:3-8: 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.
drivers/staging/ccree/ssi_hash.c:381: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.
drivers/staging/ccree/ssi_hash.c:383: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 is not needed.

 Based on checkpatch warning
 "kfree(NULL) is safe this check is probably not required"
 and kfreeaddr.cocci by Julia Lawall.

Generated by: scripts/coccinelle/free/ifnullfree.cocci

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-28 12:17:54 +02:00
..
Documentation/devicetree/bindings/crypto staging: ccree: add DT bindings for Arm CryptoCell 2017-04-28 12:17:54 +02:00
Kconfig staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
Makefile staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
TODO staging: ccree: add TODO list 2017-04-28 12:17:54 +02:00
cc_bitops.h
cc_crypto_ctx.h staging: ccree: add AEAD support 2017-04-28 12:17:54 +02:00
cc_hal.h
cc_hw_queue_defs.h
cc_lli_defs.h
cc_pal_log.h
cc_pal_log_plat.h
cc_pal_types.h
cc_pal_types_plat.h
cc_regs.h
dx_crys_kernel.h
dx_env.h
dx_host.h
dx_reg_base_host.h
dx_reg_common.h
hash_defs.h
hw_queue_defs_plat.h
ssi_aead.c staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_aead.h staging: ccree: add AEAD support 2017-04-28 12:17:54 +02:00
ssi_buffer_mgr.c staging: ccree: fix ifnullfree.cocci warnings 2017-04-28 12:17:54 +02:00
ssi_buffer_mgr.h staging: ccree: add AEAD support 2017-04-28 12:17:54 +02:00
ssi_cipher.c staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_cipher.h staging: ccree: add IV generation support 2017-04-28 12:17:54 +02:00
ssi_config.h
ssi_driver.c staging: ccree: fix platform_no_drv_owner.cocci warnings 2017-04-28 12:17:54 +02:00
ssi_driver.h staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips.c staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips.h staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips_data.h staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips_ext.c staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips_ll.c staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips_local.c staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_fips_local.h staging: ccree: add FIPS support 2017-04-28 12:17:54 +02:00
ssi_hash.c staging: ccree: fix ifnullfree.cocci warnings 2017-04-28 12:17:54 +02:00
ssi_hash.h
ssi_ivgen.c staging: ccree: add IV generation support 2017-04-28 12:17:54 +02:00
ssi_ivgen.h staging: ccree: add IV generation support 2017-04-28 12:17:54 +02:00
ssi_pm.c staging: ccree: add IV generation support 2017-04-28 12:17:54 +02:00
ssi_pm.h
ssi_pm_ext.c
ssi_pm_ext.h
ssi_request_mgr.c staging: ccree: fix semicolon.cocci warnings 2017-04-28 12:17:54 +02:00
ssi_request_mgr.h
ssi_sram_mgr.c
ssi_sram_mgr.h
ssi_sysfs.c staging: ccree: fix array_size.cocci warnings 2017-04-28 12:17:54 +02:00
ssi_sysfs.h