[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Fix use of static in macro mismatch

Patchwork patchwork at emeril.freedesktop.org
Tue May 10 16:28:08 UTC 2022


== Series Details ==

Series: drm/i915/gt: Fix use of static in macro mismatch
URL   : https://patchwork.freedesktop.org/series/103806/
State : warning

== Summary ==

Error: dim checkpatch failed
443b7d161fd5 drm/i915/gt: Fix use of static in macro mismatch
-:27: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#27: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:460:
+	static struct device_attribute dev_attr_gt_##_name = __ATTR(gt_##_name, _mode, _show, _store); \

-:28: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#28: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:461:
+	static struct device_attribute dev_attr_rps_##_name = __ATTR(rps_##_name, _mode, _show, _store)

-:49: CHECK:CAMELCASE: Avoid CamelCase: <RPn_freq_mhz>
#49: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:474:
+INTEL_GT_RPS_SYSFS_ATTR_RO(RPn_freq_mhz);

total: 0 errors, 2 warnings, 1 checks, 33 lines checked




More information about the Intel-gfx mailing list