✗ Fi.CI.CHECKPATCH: warning for finish/rebase fbdev pin refactor.

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

 



== Series Details ==

Series: finish/rebase fbdev pin refactor.
URL   : https://patchwork.freedesktop.org/series/95925/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f1c4731db194 drm/i915/display: refactor fbdev pin/unpin out into functions.
-:38: WARNING:BRACES: braces {} are not necessary for single statement blocks
#38: FILE: drivers/gpu/drm/i915/display/intel_fbdev.c:192:
+	if (IS_ERR(ifbdev->vma)) {
+		return PTR_ERR(ifbdev->vma);
+	}

-:78: WARNING:BRACES: braces {} are not necessary for single statement blocks
#78: FILE: drivers/gpu/drm/i915/display/intel_fbdev.c:255:
+	if (ret) {
 		goto out_unlock;
 	}

total: 0 errors, 2 warnings, 0 checks, 120 lines checked
58e642c8a077 drm/i915/display: move fbdev pin code into fb_pin
-:57: WARNING:BRACES: braces {} are not necessary for single statement blocks
#57: FILE: drivers/gpu/drm/i915/display/intel_fb_pin.c:295:
+	if (IS_ERR(ifbdev->vma)) {
+		return PTR_ERR(ifbdev->vma);
+	}

total: 0 errors, 1 warnings, 0 checks, 117 lines checked
f17b77fe86cd drm/i915/display: drop unused parameter to dpt pin
8f99fb9fce14 drm/i915/display: drop some unused includes





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

  Powered by Linux