✗ Fi.CI.CHECKPATCH: warning for drm: fix deadlock of syncobj v6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm: fix deadlock of syncobj v6
URL   : https://patchwork.freedesktop.org/series/51369/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
268f7a66feea drm: fix deadlock of syncobj v6
-:44: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'syncobj->type == DRM_SYNCOBJ_TYPE_TIMELINE'
#44: FILE: drivers/gpu/drm/drm_syncobj.c:115:
+	if ((syncobj->type == DRM_SYNCOBJ_TYPE_TIMELINE) &&
+	    (point <= syncobj->timeline)) {

-:44: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'point <= syncobj->timeline'
#44: FILE: drivers/gpu/drm/drm_syncobj.c:115:
+	if ((syncobj->type == DRM_SYNCOBJ_TYPE_TIMELINE) &&
+	    (point <= syncobj->timeline)) {

-:66: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'syncobj->type == DRM_SYNCOBJ_TYPE_BINARY'
#66: FILE: drivers/gpu/drm/drm_syncobj.c:137:
+		if ((syncobj->type == DRM_SYNCOBJ_TYPE_BINARY) &&
+		    (point != signal_pt->value))

-:66: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'point != signal_pt->value'
#66: FILE: drivers/gpu/drm/drm_syncobj.c:137:
+		if ((syncobj->type == DRM_SYNCOBJ_TYPE_BINARY) &&
+		    (point != signal_pt->value))

-:326: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#326: FILE: include/drm/drm_syncobj.h:80:
+	spinlock_t pt_lock;

total: 0 errors, 0 warnings, 5 checks, 286 lines checked

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux