drm/i915: Fix trailing semicolon
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 26 Jan 2022 09:39:42 +0000 (01:39 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 7 Feb 2022 20:55:30 +0000 (12:55 -0800)
Remove the trailing semicolon, as correctly warned by checkpatch:

-:1189: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#1189: FILE: drivers/gpu/drm/i915/intel_device_info.c:119:
+#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->display.name));

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220126093951.1470898-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_device_info.c

index 93b251b..94da5aa 100644 (file)
@@ -114,7 +114,7 @@ void intel_device_info_print_static(const struct intel_device_info *info,
        DEV_INFO_FOR_EACH_FLAG(PRINT_FLAG);
 #undef PRINT_FLAG
 
-#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->display.name));
+#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->display.name))
        DEV_INFO_DISPLAY_FOR_EACH_FLAG(PRINT_FLAG);
 #undef PRINT_FLAG
 }