Tag: fdb4c0ad3e6c35a51544bb7e5553c10433e50b85

crypto: qat – cleanup coccicheck warning – NULL check before freeing functions

Author: Bruce Allan <bruce.w.allan@intel.com> Analyzing with coccinelle MODE=report… Please check for false positives in the output before submitting a patch. When using “patch” mode, carefully review the patch before submitting it. drivers/crypto/qat/qat_dh895xcc/adf_isr.c:191: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 …

Continue reading