mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2979d7e973
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:134: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/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:175:4-9: 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 Fixes: f09cd1f46388 ("drm/amd/display: Use kernel alloc/free") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
---|---|---|
.. | ||
dce80 | ||
dce110 | ||
dce120 | ||
dcn10 | ||
diagnostics | ||
ddc_regs.h | ||
gpio_base.c | ||
gpio_regs.h | ||
gpio_service.c | ||
gpio_service.h | ||
hpd_regs.h | ||
hw_ddc.c | ||
hw_ddc.h | ||
hw_factory.c | ||
hw_factory.h | ||
hw_gpio.c | ||
hw_gpio.h | ||
hw_hpd.c | ||
hw_hpd.h | ||
hw_translate.c | ||
hw_translate.h | ||
Makefile |