[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gvt: Deliver guest cursor hotspot info (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Mon Apr 16 06:01:15 UTC 2018
== Series Details ==
Series: drm/i915/gvt: Deliver guest cursor hotspot info (rev2)
URL : https://patchwork.freedesktop.org/series/41727/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
28bd5550e843 drm/i915/gvt: Deliver guest cursor hotspot info
-:36: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'c->x_hot <= c->width'
#36: FILE: drivers/gpu/drm/i915/gvt/dmabuf.c:197:
+ if (c && (c->x_hot <= c->width) && (c->y_hot <= c->height))
-:36: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'c->y_hot <= c->height'
#36: FILE: drivers/gpu/drm/i915/gvt/dmabuf.c:197:
+ if (c && (c->x_hot <= c->width) && (c->y_hot <= c->height))
total: 0 errors, 0 warnings, 2 checks, 79 lines checked
More information about the Intel-gfx
mailing list