Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp627263rdb; Thu, 22 Feb 2024 14:25:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWhlMEU5Wb/vT4aV7CVqE6av0q3V8KviN3dgSgFrkW7YqbwcqzcAGeTs0KQneNfr7y0356bTRuxtKaeB3hWq/+qQ/yIPnkuYeGlPr177w== X-Google-Smtp-Source: AGHT+IEniRRTCaQyYPxqJVStlS4AKnfNaySqN6bXgshKBn04ySgXCkM8Kd4ba7yMuSc+oABnyFxM X-Received: by 2002:a05:6a20:c709:b0:1a0:e03f:d0e with SMTP id hi9-20020a056a20c70900b001a0e03f0d0emr224566pzb.6.1708640732157; Thu, 22 Feb 2024 14:25:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708640732; cv=pass; d=google.com; s=arc-20160816; b=r5qwguLCkD59hiilzj7ujo+c/sKXsl4WRFhqjLNB/Mlb8H0ZB84PnzAQ6y1fG49chW eaJaxvXttHvuRvbBs7dcNoAo4exX3TRC6bjdMN6YSEQPS9gpup9KA/QbQIbY9hbQeOGh ZPeqPDbv1xj7X1UlIUSwhldWsscNnC3TnuI8JXR7y4cFxCVIrmeap+ZqX5VB6F3NSaW9 bwfjgFkerKZnMDcGvgSKm4PmdsY0v4B9zL7SLYfOUR00VjnJfCWXPAPFn5PPtdESLod+ q6EeCrZcGu5JmAi5sCj9KHQbFgx5qBv5MJalLkm+caRYo52Xso5oWuqOAOy/Q/uPIY3W YbQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=y+Rff6X28EYAnUk3SqrPCoO0ODz+wlokXJLI2VSOnik=; fh=RYC8q+5JhEX07qgeca76oiFivzH0ZSt+QPb839B6aGk=; b=ky2uKilcs9YiOXmoUocDf0gPSv7ZtFilFN3Y+flfgcfsLHhfV/DnT//0NrNFsRN0ZQ z6oc/vIULdQTkHKST9EBVGoPnptS7ymas45kBkJu2oJMHqecPNDMh+ARiQhUxC6Kc2Si JRkLXYUPCGpQpPehxWno/jBgCAH+xjOAkY5zlYg8YCKxRebsFS48nJ6CNCo19giS4DmN +zLjscEjcmOrWWw3Ac8X71e+fpEsdjZ4laNb0NFc2ldNlO76D3WGWGlBSldcoUNPjaaX TZjN7F7uOjAInsnobnh601I8vG+X3PYsM+YA3LEDeeCCmKKUJhcjt9lxLMeuCreACoMB ApbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OzlgKd4s; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-77193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x3-20020a056a00188300b006e4c85a8129si2482596pfh.130.2024.02.22.14.25.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 14:25:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OzlgKd4s; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-77193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4D2F928E2CE for ; Thu, 22 Feb 2024 18:53:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A5CB14B829; Thu, 22 Feb 2024 18:43:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OzlgKd4s" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C9A414B81B; Thu, 22 Feb 2024 18:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708627385; cv=none; b=WMOW1JCbv8pl3NEjiD9DvrSdLIYaJunrRHhia6dPhqDUupGIjFuNtHFD+3sGV99pAKCNDRvLVaE6rUqqzHRr98s9IrohwLKMI1bN2WMNdO54Mjhjr7iwNJyZNApCNdN9HhrPBidOAqEe3JgxMTIBqLtjzvSNGJE/Tvv38O3lxCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708627385; c=relaxed/simple; bh=z9V9SqwIoCEV0+0762M0Lypw4P+zHK31rT4rI5FLLx8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IlpjTZuXL0jFRISzaILLMF5qa9lkzmHpoeo/JXfXevkNDiHn1GqC+P4PkU1gGNFydf9xKFTXkCOFCUnBC3GCLdvAc/AVxELXQtSfZv1o2NkgEZmkwNMzDekODj8JPNXqpyzp3+bYHLXvP5my2PnySgq578PzTuLUNY0AoggLAtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OzlgKd4s; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708627385; x=1740163385; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=z9V9SqwIoCEV0+0762M0Lypw4P+zHK31rT4rI5FLLx8=; b=OzlgKd4sjqFjpeXhCDWrB0iiOda0HGHV3OtTz3zm0BGKCNSt0W/Im9Gl 1Rpq+CLPkc71lPHsbwQsNXGV4Gy/RbzDcdNVPne818qLZrXKftWKuR02n /PmCKi8UM3qHwYBkjtTSLCkmd8tpZIrjP2ydrgyz/oqGWNoZ3DO+y3nOn B5uWtTxqq3/uRo/rG+cRlxvIsyaVhqHNTWonbkuRpnxsYCoAZJmFThrt2 4u6ChIbqyui5cTDmhg1FrzoMNFQvc/LX91wsRHRS+sO2LECKpEenm52hb pHLegOq1bgVXqX8DSa9wySyJCG84lTQMRG2KsRj6KSnQkCYLuIqgteNx3 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10992"; a="3032581" X-IronPort-AV: E=Sophos;i="6.06,179,1705392000"; d="scan'208";a="3032581" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2024 10:43:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10992"; a="827588441" X-IronPort-AV: E=Sophos;i="6.06,179,1705392000"; d="scan'208";a="827588441" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga001.jf.intel.com with SMTP; 22 Feb 2024 10:43:00 -0800 Received: by stinkbox (sSMTP sendmail emulation); Thu, 22 Feb 2024 20:42:59 +0200 Date: Thu, 22 Feb 2024 20:42:59 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Steven Rostedt Cc: LKML , Linux Trace Kernel , dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Daniel Vetter , David Airlie Subject: Re: [PATCH] drm/i915: Add missing ; to __assign_str() macros in tracepoint code Message-ID: References: <20240222133057.2af72a19@gandalf.local.home> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240222133057.2af72a19@gandalf.local.home> X-Patchwork-Hint: comment On Thu, Feb 22, 2024 at 01:30:57PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > I'm working on improving the __assign_str() and __string() macros to be > more efficient, and removed some unneeded semicolons. This triggered a bug > in the build as some of the __assign_str() macros in intel_display_trace > was missing a terminating semicolon. > > Fixes: 2ceea5d88048b ("drm/i915: Print plane name in fbc tracepoints") > Signed-off-by: Steven Rostedt (Google) Reviewed-by: Ville Syrj?l? Do you want me to apply this to drm-intel or do you want to take it through some other tree? Either way seems fine for this stuff. > --- > drivers/gpu/drm/i915/display/intel_display_trace.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_display_trace.h b/drivers/gpu/drm/i915/display/intel_display_trace.h > index 99bdb833591c..7862e7cefe02 100644 > --- a/drivers/gpu/drm/i915/display/intel_display_trace.h > +++ b/drivers/gpu/drm/i915/display/intel_display_trace.h > @@ -411,7 +411,7 @@ TRACE_EVENT(intel_fbc_activate, > struct intel_crtc *crtc = intel_crtc_for_pipe(to_i915(plane->base.dev), > plane->pipe); > __assign_str(dev, __dev_name_kms(plane)); > - __assign_str(name, plane->base.name) > + __assign_str(name, plane->base.name); > __entry->pipe = crtc->pipe; > __entry->frame = intel_crtc_get_vblank_counter(crtc); > __entry->scanline = intel_get_crtc_scanline(crtc); > @@ -438,7 +438,7 @@ TRACE_EVENT(intel_fbc_deactivate, > struct intel_crtc *crtc = intel_crtc_for_pipe(to_i915(plane->base.dev), > plane->pipe); > __assign_str(dev, __dev_name_kms(plane)); > - __assign_str(name, plane->base.name) > + __assign_str(name, plane->base.name); > __entry->pipe = crtc->pipe; > __entry->frame = intel_crtc_get_vblank_counter(crtc); > __entry->scanline = intel_get_crtc_scanline(crtc); > @@ -465,7 +465,7 @@ TRACE_EVENT(intel_fbc_nuke, > struct intel_crtc *crtc = intel_crtc_for_pipe(to_i915(plane->base.dev), > plane->pipe); > __assign_str(dev, __dev_name_kms(plane)); > - __assign_str(name, plane->base.name) > + __assign_str(name, plane->base.name); > __entry->pipe = crtc->pipe; > __entry->frame = intel_crtc_get_vblank_counter(crtc); > __entry->scanline = intel_get_crtc_scanline(crtc); > -- > 2.43.0 -- Ville Syrj?l? Intel