Re: [PATCH] drm: Combine identical if/elif code blocks

2024-05-15 Thread Thorsten Blum
On 15. May 2024, at 11:22, Thorsten Blum wrote: > On 15. May 2024, at 09:43, Luc Ma wrote: >> On Tue, 14 May 2024 at 19:37, Thorsten Blum wrote: >>> >>> Merge the identical if/elif code blocks and remove the following two >>> warnings reported by make inc

Re: [PATCH] drm: Combine identical if/elif code blocks

2024-05-15 Thread Thorsten Blum
On 15. May 2024, at 09:43, Luc Ma wrote: > On Tue, 14 May 2024 at 19:37, Thorsten Blum wrote: >> >> Merge the identical if/elif code blocks and remove the following two >> warnings reported by make includecheck: >> >>asm/ioctl.h is included more

[PATCH] drm: Combine identical if/elif code blocks

2024-05-13 Thread Thorsten Blum
Merge the identical if/elif code blocks and remove the following two warnings reported by make includecheck: asm/ioctl.h is included more than once linux/types.h is included more than once Signed-off-by: Thorsten Blum --- include/uapi/drm/drm.h | 8 +--- 1 file changed, 1

[PATCH] drm/amdgpu: Add missing space to DRM_WARN() message

2024-04-14 Thread Thorsten Blum
s/,please/, please/ Signed-off-by: Thorsten Blum --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 7753a2e64d41..3cba0e196ca8 100644

Re: [PATCH] treewide: Fix common grammar mistake "the the"

2024-04-11 Thread Thorsten Blum
On 11. Apr 2024, at 17:25, Dan Carpenter wrote: > > It's tricky to know which tree a patch like this would go through. The patch is based on the mainline tree. Should I have sent it directly to Linus then? I'm relatively new here and therefore only sent it to the corresponding mailing lists.

[PATCH v2] treewide: Fix common grammar mistake "the the"

2024-04-11 Thread Thorsten Blum
Use `find . -type f -exec sed -i 's/\/the/g' {} +` to find all occurrences of "the the" and replace them with a single "the". In arch/arm/include/asm/unwind.h replace "the the" with "to the". Changes only comments and documentation - no code changes.

[PATCH] treewide: Fix common grammar mistake "the the"

2024-04-11 Thread Thorsten Blum
Use `find . -type f -exec sed -i 's/\/the/g' {} +` to find all occurrences of "the the" and replace them with a single "the". Changes only comments and documentation - no code changes. Signed-off-by: Thorsten Blum --- Documentation/trace/histogram.rst | 2

[PATCH] accel/habanalabs/gaudi2: Use kvfree() for memory allocated with kvcalloc()

2024-04-02 Thread Thorsten Blum
Fixes the following Coccinelle/coccicheck warning reported by kfree_mismatch.cocci: WARNING kvmalloc is used to allocate this memory at line 10398 Signed-off-by: Thorsten Blum --- drivers/accel/habanalabs/gaudi2/gaudi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git