✗ Fi.CI.CHECKPATCH: warning for drm/i915: gvt register macro cleanups, unused macro removals

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

 



== Series Details ==

Series: drm/i915: gvt register macro cleanups, unused macro removals
URL   : https://patchwork.freedesktop.org/series/134600/
State : warning

== Summary ==

Error: dim checkpatch failed
66e6c4a777e0 drm/i915/gvt: remove the unused end parameter from calc_index()
0e196fd9ff22 drm/i915/gvt: use proper i915_reg_t for calc_index() parameters
-:70: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#70: FILE: drivers/gpu/drm/i915/gvt/handlers.c:1013:
+	calc_index(offset, DSPSURF(dev_priv, PIPE_A), DSPSURF(dev_priv, PIPE_B), DSPSURF(dev_priv, PIPE_C))

total: 0 errors, 1 warnings, 0 checks, 53 lines checked
885bb125a4fc drm/i915/gvt: rename range variable to stride
b0aea21a9558 drm/i915/gvt: do not use implict dev_priv in DSPSURF_TO_PIPE()
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#23: FILE: drivers/gpu/drm/i915/gvt/handlers.c:1012:
+#define DSPSURF_TO_PIPE(dev_priv, offset) \
 	calc_index(offset, DSPSURF(dev_priv, PIPE_A), DSPSURF(dev_priv, PIPE_B), DSPSURF(dev_priv, PIPE_C))

total: 0 errors, 0 warnings, 1 checks, 16 lines checked
479736242c74 drm/i915: remove unused pipe/plane B register macros
f647ac1c5917 drm/i915: remove unused HSW_STEREO_3D_CTL register macros





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

  Powered by Linux