Skip to contentSkip to conversation

drm: Align a comment block

PATCH In review Igor Matheus Andrade Torrente 2 participants 2 messages Mar 19, 2020 – Mar 24, 2020

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

PATCH v3 1/1 drm: Align a comment block

Fix a checkpatch warning caused by a misaligned comment block.

---
Changes in v2:
- Change subject text

Changes in V3
- Fix a typo in the commit message

drivers/gpu/drm/drm_gem.c | 8 ++++----

 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/drm_gem.c +4 -4
index a9e4a610445a..564acc1f4030 100644
@@ -222,10 +222,10 @@ drm_gem_object_handle_put_unlocked(struct drm_gem_object *obj)
 		return;
 
 	/*
-	* Must bump handle count first as this may be the last
-	* ref, in which case the object would disappear before we
-	* checked for a name
-	*/
+	 * Must bump handle count first as this may be the last
+	 * ref, in which case the object would disappear before we
+	 * checked for a name
+	 */
 
 	mutex_lock(&dev->object_name_lock);
 	if (--obj->handle_count == 0) {
Signature · 1 line
2.20.1
Reviewed-by on v3 1/1
#1 lore raw

Hi,

Quoted 36 lines · Igor Matheus Andrade Torrente

Fix a checkpatch warning caused by a misaligned comment block.

---
Changes in v2:
- Change subject text

Changes in V3
- Fix a typo in the commit message

drivers/gpu/drm/drm_gem.c | 8 ++++----

 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/drm_gem.c +4 -4
index a9e4a610445a..564acc1f4030 100644
@@ -222,10 +222,10 @@ drm_gem_object_handle_put_unlocked(struct drm_gem_object *obj)
 		return;
 
 	/*
-	* Must bump handle count first as this may be the last
-	* ref, in which case the object would disappear before we
-	* checked for a name
-	*/
+	 * Must bump handle count first as this may be the last
+	 * ref, in which case the object would disappear before we
+	 * checked for a name
+	 */
 
 	mutex_lock(&dev->object_name_lock);
 	if (--obj->handle_count == 0) {
Signature · 1 line
2.20.1
Signature · 2 lines
Rodrigo Siqueira
https://siqueira.tech

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel