Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5506188pxb; Wed, 26 Jan 2022 13:39:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJztgDq1zrXaJxsp4TYBt6+JWhZWOQxG+1P5A8s4vRs+06YBkJ8u0OFrhLb9zTCaL61I0JFO X-Received: by 2002:a63:735c:: with SMTP id d28mr632122pgn.154.1643233184458; Wed, 26 Jan 2022 13:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643233184; cv=none; d=google.com; s=arc-20160816; b=kmyzqF/LTMNmFE3F5lLmbld5DnFDY0RzGAKcgN3oi9JH7uw2BWow2XDlV9wYJ9yDB3 QveBZShgt6oOIGZ4cUBqwg29cN81WPMeRGIX1erFH3Gdl8pJHZ/IDYkash0N9+PSY34A ZNDK1TCNtbKB2/VXDvUGg6vQvjeh1ohzPhc7XER4cnvg2xYYQaEnRNMdN2DamCYYbZ0K e4RLzA5C1CitdLA6/jPUG4LuAm4vRqh3fTNBKu8ZvG0cYB1+seEnRsYYXiBtmmoTII4h QO07OQ5Odh4P4NeQbpiCFua8cVx2XGiV7tOb8A8AeGzgI4+kaZEICIOnVZP9vxzwl2gv WVWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=CvTbCn1bdLWzUbIm9FsC+E2fwPJBBK/ZH8tYU82yQi4=; b=w8Z9WvH2myUETxt4XtDJnxSvw4xAIuqNSTkiUZE8f7d58QZBdxelHj83qBg0oVzXaD 0Bbr2fRQ5+V5wzNG+3DIhNiTi2SsoYdPB8h/Tfa9kmqq6EY8EZOvQ0JwfsE39lee088Y gv/ge2hHs1GLVqBst5qcW66UF9f8rIezChrM3+oKm8/pgnI9y+Bv7S7ur7fAag5GDp97 7tUfAKbBtd/YyfxUTefOxA6UdDlj1QSdHTmAgZlLwu7xzPIruqbUWiFSlK3Q4ThU7b2w EtzFmZi5aI7emQbW7ExNe+3cZmrZZZmkjaj5qoHsvNFSA5OGC50kbtUYKPdXNnHQAvRM 7gMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hRsjMEwx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si353176pfu.109.2022.01.26.13.39.31; Wed, 26 Jan 2022 13:39:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hRsjMEwx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242389AbiAZOxI (ORCPT + 99 others); Wed, 26 Jan 2022 09:53:08 -0500 Received: from mga05.intel.com ([192.55.52.43]:27414 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235644AbiAZOxF (ORCPT ); Wed, 26 Jan 2022 09:53:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643208785; x=1674744785; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=7n8kP29+3QJkGEyq+fGxF09Qxaj32zhHfyUa9OrAKE0=; b=hRsjMEwxxl2F8Q07KpwvY/59y5XI86DOtvEj26l8s+djMq0CU+MeFxhG VcOxmXV5DVFME2tUG8ZsnJEam5w9KqtNgcTB/nOOJGBczPQntVA32wAcT GUrtwzJ726DWwzrrPn3eb5CXdMkeap4iip1hDp7SbqkSm+HRjJwSzvtam Rvnmf6E11mO0NQh/qc/grUnMNGpqFaoRNejuyOy4I85irumjTYEdLsIiB T7b9ZkwzRO415PjB+5E8aJXWskmg1/LIDXmNpRHVgz3hDoy/4y5fhaMXt +hk2vtzkdMQPhzdrMidxpMGynCn0mC5cu1Z8bD1bHB78khy+KoYSdoEHw w==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="332918084" X-IronPort-AV: E=Sophos;i="5.88,318,1635231600"; d="scan'208";a="332918084" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 06:53:04 -0800 X-IronPort-AV: E=Sophos;i="5.88,318,1635231600"; d="scan'208";a="520821374" Received: from nbasu-mobl.ger.corp.intel.com (HELO localhost) ([10.252.16.197]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 06:52:53 -0800 From: Jani Nikula To: Lucas De Marchi , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-security-module@vger.kernel.org, nouveau@lists.freedesktop.org, netdev@vger.kernel.org Cc: Alex Deucher , Andrew Morton , Andy Shevchenko , Andy Shevchenko , Ben Skeggs , Christian =?utf-8?Q?K=C3=B6nig?= , Chris Wilson , Daniel Vetter , David Airlie , "David S. Miller" , Emma Anholt , Francis Laniel , Greg Kroah-Hartman , Harry Wentland , Jakub Kicinski , Joonas Lahtinen , Julia Lawall , Kentaro Takeda , Leo Li , Petr Mladek , Rahul Lakkireddy , Raju Rangoju , Rasmus Villemoes , Rodrigo Vivi , Sakari Ailus , Sergey Senozhatsky , Steven Rostedt , Vishal Kulkarni Subject: Re: [PATCH v2 02/11] drm/i915: Fix trailing semicolon In-Reply-To: <20220126093951.1470898-3-lucas.demarchi@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20220126093951.1470898-1-lucas.demarchi@intel.com> <20220126093951.1470898-3-lucas.demarchi@intel.com> Date: Wed, 26 Jan 2022 16:52:50 +0200 Message-ID: <874k5qzgzh.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Jan 2022, Lucas De Marchi wrote: > 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 Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/i915/intel_device_info.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c > index 93b251b25aba..94da5aa37391 100644 > --- a/drivers/gpu/drm/i915/intel_device_info.c > +++ b/drivers/gpu/drm/i915/intel_device_info.c > @@ -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 > } -- Jani Nikula, Intel Open Source Graphics Center