[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/rect: Return scaling factor and error code separately

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 19 17:23:46 UTC 2019


== Series Details ==

Series: series starting with [1/3] drm/rect: Return scaling factor and error code separately
URL   : https://patchwork.freedesktop.org/series/66935/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
d1d7588e302a drm/rect: Return scaling factor and error code separately
603f052ff944 drm/atomic: Pimp the debugs for scaling fails
-:85: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#85: FILE: include/drm/drm_rect.h:68:
+#define DRM_FP_ARG(f) (f) >> 16, (((f) & 0xffff) * (1000000 >> (16 - 10))) >> 10

-:85: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'f' - possible side-effects?
#85: FILE: include/drm/drm_rect.h:68:
+#define DRM_FP_ARG(f) (f) >> 16, (((f) & 0xffff) * (1000000 >> (16 - 10))) >> 10

total: 1 errors, 0 warnings, 1 checks, 77 lines checked
de2570e1ebf9 drm/atomic-helper: Improve drm_atomic_helper_check_plane_state() debugs



More information about the Intel-gfx mailing list