[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gvt: use sysfs_streq() instead of strncmp()
Patchwork
patchwork at emeril.freedesktop.org
Tue Nov 22 20:16:01 UTC 2022
== Series Details ==
Series: drm/i915/gvt: use sysfs_streq() instead of strncmp()
URL : https://patchwork.freedesktop.org/series/111212/
State : warning
== Summary ==
Error: dim checkpatch failed
78ecf723a966 drm/i915/gvt: use sysfs_streq() instead of strncmp()
-:22: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#22: FILE: drivers/gpu/drm/i915/gvt/cmd_parser.c:921:
+ if (sysfs_streq(cmd, "srm") ||
+ sysfs_streq(cmd, "lrm")) {
-:33: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#33: FILE: drivers/gpu/drm/i915/gvt/cmd_parser.c:935:
+ if (sysfs_streq(cmd, "lrr-src") ||
+ sysfs_streq(cmd, "lrr-dst")) {
total: 0 errors, 0 warnings, 2 checks, 42 lines checked
More information about the Intel-gfx
mailing list