[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: add DRM_DEBUG_CORE() and friends and use them

Patchwork patchwork at emeril.freedesktop.org
Thu Dec 27 16:46:07 UTC 2018


== Series Details ==

Series: drm: add DRM_DEBUG_CORE() and friends and use them
URL   : https://patchwork.freedesktop.org/series/54503/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
904327810147 drm: add DRM_DEBUG_CORE() and friends and use them
-:8: WARNING:TYPO_SPELLING: 'swith' may be misspelled - perhaps 'switch'?
#8: 
usage about 10:1. It's easier to swith the core over to a new

-:33: WARNING:PRINTF_L: %LX is non-standard C, use %llX
#33: FILE: drivers/gpu/drm/ati_pcigart.c:136:
+		DRM_DEBUG_CORE("PCI: Gart Table: VRAM %08LX mapped at %08lX\n",

-:34: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#34: FILE: drivers/gpu/drm/ati_pcigart.c:137:
+		DRM_DEBUG_CORE("PCI: Gart Table: VRAM %08LX mapped at %08lX\n",
 			  (unsigned long long)bus_address,

-:831: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#831: FILE: drivers/gpu/drm/drm_ioctl.c:827:
+	DRM_DEBUG_CORE("pid=%d, dev=0x%lx, auth=%d, %s\n",
 		  task_pid_nr(current),

-:1094: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1094: FILE: drivers/gpu/drm/drm_sysfs.c:280:
+	DRM_DEBUG_CORE("adding \"%s\" to sysfs\n",
 		  connector->name);

-:1103: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1103: FILE: drivers/gpu/drm/drm_sysfs.c:298:
+	DRM_DEBUG_CORE("removing \"%s\" from sysfs\n",
 		  connector->name);

-:1181: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#1181: FILE: drivers/gpu/drm/drm_vblank.c:661:
+			       pipe, duration_ns/1000, *max_error/1000, i);
 			                        ^

-:1181: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#1181: FILE: drivers/gpu/drm/drm_vblank.c:661:
+			       pipe, duration_ns/1000, *max_error/1000, i);
 			                                         ^

-:1384: WARNING:LONG_LINE: line over 100 characters
#1384: FILE: drivers/gpu/drm/drm_vm.c:601:
+			       vma->vm_start, vma->vm_end, (unsigned long long)(map->offset + offset));

total: 0 errors, 3 warnings, 6 checks, 1224 lines checked



More information about the Intel-gfx mailing list