[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Pass crtc to .best_encoder()

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 15 21:52:38 UTC 2018


== Series Details ==

Series: drm: Pass crtc to .best_encoder()
URL   : https://patchwork.freedesktop.org/series/44864/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
30c6fbddb826 drm: Pass crtc to .best_encoder()
-:81: WARNING:LONG_LINE: line over 100 characters
#81: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c:598:
+			amdgpu_encoder = to_amdgpu_encoder(connector_funcs->best_encoder(connector, NULL));

-:301: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus_mode.c is marked as 'obsolete' in the MAINTAINERS hierarchy.  No unnecessary modifications please.

-:304: WARNING:OBSOLETE: drivers/gpu/drm/cirrus/cirrus_mode.c is marked as 'obsolete' in the MAINTAINERS hierarchy.  No unnecessary modifications please.

-:492: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#492: FILE: drivers/gpu/drm/gma500/psb_intel_drv.h:233:
+extern struct drm_encoder *gma_best_encoder(struct drm_connector *connector,

-:699: WARNING:LONG_LINE: line over 100 characters
#699: FILE: drivers/gpu/drm/radeon/radeon_connectors.c:161:
+			struct drm_encoder *encoder = connector_funcs->best_encoder(connector, NULL);

-:736: WARNING:LONG_LINE: line over 100 characters
#736: FILE: drivers/gpu/drm/radeon/radeon_connectors.c:732:
+			radeon_encoder = to_radeon_encoder(connector_funcs->best_encoder(connector, NULL));

-:745: WARNING:LONG_LINE: line over 100 characters
#745: FILE: drivers/gpu/drm/radeon/radeon_connectors.c:759:
+			radeon_encoder = to_radeon_encoder(connector_funcs->best_encoder(connector, NULL));

total: 0 errors, 6 warnings, 1 checks, 749 lines checked



More information about the Intel-gfx mailing list