[PATCH linux-next] drm/amdgpu: use string choice helpers

2025-04-27 Thread R Sundar
Use string choice helpers for better readability. Reported-by: kernel test robot Reported-by: Julia Lawall Closes: https://lore.kernel.org/r/202503222049.suxl3q6w-...@intel.com/ Signed-off-by: R Sundar --- Reported in linux repository. cocci warnings: (new ones prefixed by >>) >>

Re: [PATCH linux-next] drm/amdgpu: use string choice helpers

2024-10-29 Thread R Sundar
On 29/10/24 19:11, Alex Deucher wrote: On Sun, Oct 27, 2024 at 10:18 AM R Sundar wrote: Use string choice helpers for better readability. I personally find this less readable, but if this is the preferred method going forward, I'm fine to take the patch. Alex Hi, Thanks fo

[PATCH linux-next] drm/amdgpu: use string choice helpers

2024-10-27 Thread R Sundar
Use string choice helpers for better readability. Reported-by: kernel test robot Reported-by: Julia Lawall Closes: https://lore.kernel.org/r/202410161814.i6p2nnux-...@intel.com/ Signed-off-by: R Sundar --- reported in linux repository. tree: https://git.kernel.org/pub/scm/linux/kernel/git

[PATCH linux-next] drm/i915/dp: use string choice helpers

2024-10-07 Thread R Sundar
Use str_on_off string helpers for better readability and to fix cocci warning. Reported-by: kernel test robot Reported-by: Julia Lawall Closes: https://lore.kernel.org/r/202410071252.cwiljzrh-...@intel.com/ Signed-off-by: R Sundar --- Reported in linux repo: tree: https://git.kernel.org/pub

[PATCH linux-next] drm/i915/ddi: use string choice helpers

2024-10-07 Thread R Sundar
Use str_enabled_disabled string helpers for better readability and to fix cocci warning. Reported-by: kernel test robot Reported-by: Julia Lawall Closes: https://lore.kernel.org/r/202410071601.tfpxoqgw-...@intel.com/ Signed-off-by: R Sundar --- Reported in linux repo: tree: https

[PATCH linux-next] drm: Fix for kernel doc warning

2024-10-02 Thread R Sundar
Added colon in kernel-doc comment to fix the warning. ./include/drm/drm_drv.h:372: warning: Incorrect use of kernel-doc format: * @fbdev_probe ./include/drm/drm_drv.h:435: warning: Function parameter or struct member 'fbdev_probe' not described in 'drm_driver' Sig

Re: [PATCH linux-next] gpu:ipu-v3:pre: replace of_node_put() with __free

2024-05-03 Thread R Sundar
On 27/04/24 10:20, R Sundar wrote: use the new cleanup magic to replace of_node_put() with __free(device_node) marking to auto release when they get out of scope. Suggested-by: Julia Lawall Signed-off-by: R Sundar --- drivers/gpu/ipu-v3/ipu-pre.c | 7 ++- 1 file changed, 2 insertions

[PATCH] backlight: sky81452-backlight: replace of_node_put with __free

2024-05-01 Thread R Sundar
Use the new cleanup magic to replace of_node_put() with __free(device_node) marking to auto release when they get out of scope. Suggested-by: Julia Lawall Signed-off-by: R Sundar --- drivers/video/backlight/sky81452-backlight.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions

[PATCH linux-next] gpu:ipu-v3:pre: replace of_node_put() with __free

2024-04-26 Thread R Sundar
use the new cleanup magic to replace of_node_put() with __free(device_node) marking to auto release when they get out of scope. Suggested-by: Julia Lawall Signed-off-by: R Sundar --- drivers/gpu/ipu-v3/ipu-pre.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH] Fix for kernel doc warning

2024-04-06 Thread R SUNDAR
ber 'operation_mode' description in 'drm_dp_as_sdp' Signed-off-by: R SUNDAR --- include/drm/display/drm_dp_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h index baf9949ff96

[PATCH] Removed vcpi field description to fix kernel doc warning

2024-03-07 Thread R SUNDAR
For linux-next repo ./include/drm/display/drm_dp_mst_helper.h:156: warning: Excess struct member 'vcpi' description in 'drm_dp_mst_port' Signed-off-by: R SUNDAR --- include/drm/display/drm_dp_mst_helper.h | 1 - 1 file changed, 1 deletion(-) diff --git a

[PATCH] Removed redundant @ symbol to fix kernel-doc warnings in -next repo

2024-03-05 Thread R SUNDAR
nd_cfg' Signed-off-by: R SUNDAR --- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h index ba9b942ce09f..34a398f23fc6 100644 --- a

[PATCH] Removed funcs field description for kernel doc warning.

2024-03-04 Thread R SUNDAR
./include/drm/drm_gem_vram_helper.h:185: warning: Excess struct member 'funcs' description in 'drm_vram_mm' Signed-off-by: R SUNDAR --- include/drm/drm_gem_vram_helper.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/d