Fw: Hiding the vim user in amdgpu_vcn.c (typo in comment)
From: Stefan Hagen
Date: Tue Jan 05 2021 - 08:27:21 EST
Hi,
Ricardo Mestre wrote:
> Stefan Hagen wrote:
>> I can totally relate to this one.
>>
>> Found after a conversation about muscle memory and grepping the
>> source tree for ":wq".
>>
> This issue is present in upstream [0], please take it with them.
>
> [0] https://sourcegraph.com/github.com/torvalds/linux@30bb5572ce7a8710fa9ea720b6ecb382791c9800/-/blob/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c#L131
Forwarding to upstream.
The patch below is for the Linux source tree.
Best Regards,
Stefan
From e4511830bd58ac1508dde86b440a36e15a92b5cc Mon Sep 17 00:00:00 2001
From: c0dev0id <sh+git@xxxxxxxxxxx>
Date: Tue, 5 Jan 2021 13:50:13 +0100
Subject: [PATCH] drm/amdgpu: fix typo in comment
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index 4a77c7424dfc..0c9eeb42d518 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -168,7 +168,7 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
/* Bit 20-23, it is encode major and non-zero for new naming convention.
* This field is part of version minor and DRM_DISABLED_FLAG in old naming
- * convention. Since the l:wq!atest version minor is 0x5B and DRM_DISABLED_FLAG
+ * convention. Since the latest version minor is 0x5B and DRM_DISABLED_FLAG
* is zero in old naming convention, this field is always zero so far.
* These four bits are used to tell which naming convention is present.
*/
--
2.30.0