Skip to contentSkip to conversation

drm/amdgpu: fix incorrect comment format

PATCH Applied Cryolitia PukNgae 3 participants 3 messages Aug 6, 2025 – Aug 8, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: fix incorrect comment format

Comments should not have a leading plus sign.

---
 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c +3 -3
index d5002ff931d841994ca2c70cdf5b989f5b3c59d6..860bc5cb03c81b5346743b5fb46a7dcbe5a201a4 100644
@@ -151,9 +151,9 @@ static void nbio_v7_4_sdma_doorbell_range(struct amdgpu_device *adev, int instan
 		 *   BIF_SDMA0_DOORBELL_RANGE:  0x3bc0
 		 *   BIF_SDMA1_DOORBELL_RANGE:  0x3bc4
 		 *   BIF_SDMA2_DOORBELL_RANGE:  0x3bd8
-+		 *   BIF_SDMA4_DOORBELL_RANGE:
-+		 *     ARCTURUS:  0x3be0
-+		 *     ALDEBARAN: 0x3be4
+		 *   BIF_SDMA4_DOORBELL_RANGE:
+		 *     ARCTURUS:  0x3be0
+		 *     ALDEBARAN: 0x3be4
 		 */
 		if (adev->asic_type == CHIP_ALDEBARAN && instance == 4)
 			reg = instance + 0x4 + 0x1 +

---
base-commit: 6bcdbd62bd56e6d7383f9e06d9d148935b3c9b73
change-id: 20250806-amdgpu_typo-80869b122c36

Best regards,

Signature · 1 line
Cryolitia PukNgae <[email protected]>
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · On 06.08.25 05:34, Cryolitia PukNgae via B4 Relay wrote:

From: Cryolitia PukNgae <[email protected]>

Comments should not have a leading plus sign.

Good catch, potentially a left over from a merge conflict or similar.

Quoted 2 lines
Quoted 27 lines
---
 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c +3 -4
index d5002ff931d841994ca2c70cdf5b989f5b3c59d6..860bc5cb03c81b5346743b5fb46a7dcbe5a201a4 100644
@@ -151,9 +151,9 @@ static void nbio_v7_4_sdma_doorbell_range(struct amdgpu_device *adev, int instan
 		 *   BIF_SDMA0_DOORBELL_RANGE:  0x3bc0
 		 *   BIF_SDMA1_DOORBELL_RANGE:  0x3bc4
 		 *   BIF_SDMA2_DOORBELL_RANGE:  0x3bd8
-+		 *   BIF_SDMA4_DOORBELL_RANGE:
-+		 *     ARCTURUS:  0x3be0
-+		 *     ALDEBARAN: 0x3be4
+		 *   BIF_SDMA4_DOORBELL_RANGE:
+		 *     ARCTURUS:  0x3be0
+		 *     ALDEBARAN: 0x3be4
 		 */
 		if (adev->asic_type == CHIP_ALDEBARAN && instance == 4)
 			reg = instance + 0x4 + 0x1 +
 
---

base-commit: 6bcdbd62bd56e6d7383f9e06d9d148935b3c9b73
change-id: 20250806-amdgpu_typo-80869b122c36

Best regards,

Applied
#2 lore raw

Applied. Thanks!

Alex

Quoted 41 lines · Christian König
Quoted 3 lines · On 06.08.25 05:34, Cryolitia PukNgae via B4 Relay wrote:

From: Cryolitia PukNgae <[email protected]>

Comments should not have a leading plus sign.

Good catch, potentially a left over from a merge conflict or similar.

Quoted 2 lines
Quoted 27 lines
---
 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c +3 -4
index d5002ff931d841994ca2c70cdf5b989f5b3c59d6..860bc5cb03c81b5346743b5fb46a7dcbe5a201a4 100644
@@ -151,9 +151,9 @@ static void nbio_v7_4_sdma_doorbell_range(struct amdgpu_device *adev, int instan
               *   BIF_SDMA0_DOORBELL_RANGE:  0x3bc0
               *   BIF_SDMA1_DOORBELL_RANGE:  0x3bc4
               *   BIF_SDMA2_DOORBELL_RANGE:  0x3bd8
-+             *   BIF_SDMA4_DOORBELL_RANGE:
-+             *     ARCTURUS:  0x3be0
-+             *     ALDEBARAN: 0x3be4
+              *   BIF_SDMA4_DOORBELL_RANGE:
+              *     ARCTURUS:  0x3be0
+              *     ALDEBARAN: 0x3be4
               */
              if (adev->asic_type == CHIP_ALDEBARAN && instance == 4)
                      reg = instance + 0x4 + 0x1 +
 
---

base-commit: 6bcdbd62bd56e6d7383f9e06d9d148935b3c9b73
change-id: 20250806-amdgpu_typo-80869b122c36

Best regards,