Message ID | 20240228193238.2102157-2-cristian.marussi@arm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-85601-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp3565921dyb; Wed, 28 Feb 2024 11:33:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAJkKPpCxG54dbYT6nNGnit4LzP+qmEetnELZPG5NnV3gCCAn8HTs/vhCGQ4sp9xaB3YHj3pxdza34Enoj7AmqRsyR3A== X-Google-Smtp-Source: AGHT+IHLWLSqt9UnLcPgVXmJtvQK/vhzULpMHLmsbgkAy6rpeRNR8veQBUpmDW8V+J/Yr9JDR8P0 X-Received: by 2002:a05:6a00:2290:b0:6e4:f4b4:9ea7 with SMTP id f16-20020a056a00229000b006e4f4b49ea7mr610309pfe.17.1709148813850; Wed, 28 Feb 2024 11:33:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709148813; cv=pass; d=google.com; s=arc-20160816; b=gnrY0nCX4vINhXoRfNJQflYBvgwT3jw/2rRWZCzJ1LzHPhrio6tazxUpdicXe/aqOu QX14Sx/E4WvRjcm/UGVqt91Ro5rWsunB+mXdgBmnoWppi42zk1OoJq/bO/X7sRgBBAw3 043CkTK/s9C8T9cHi/fQZk7lvIUXGCHvmuNlUQhi+COREHgZqXIvvAAZv4M+Luc+OYOS 3JaWcg/SmOIfuxlz+Wg3+NRG0Kv183SPssED130T/1SjNhkOy2b7Dsbvk9gTWrKCt1YW iZ5nc5RK8HilMajt9cm2btNyYjIPQXGg4YPhax2efMyv3ez9cgEuUvvy22SfphNiw9+j 2Z7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=CA3afmuhGYmah4ER2+82I2gkmfSf/wPgZOwL6NAkeHs=; fh=bYNgxUv5aDVv8ODFnU81QVGUrcSfp9UeUM+wu8I0NkA=; b=Oz5E/1eb6sxXov6MS7T8RFdcT62lEiGUGFxakEuSBp2tGRa6IoBprVf5XhaXGSVUjh qWbzB06RNoyNiRpXfyBr3QPZnY5RF8b7j31G66/P5In9dYboduDpXCgGf4zS3WXSwyb1 NqSa22YtXQWA0yUgTtZj09RA4YOM1PFEmNkBi3zDU65aaYD5Tuw0pAMSezGnkItT0sxO RNCbbCh/n8KjCIH2ISwf6i0u2dmayTzPC3uEnxFKPtqifemhqJdzuge08R5w77Offi5U 9wdFQ0Tcg5pa0X/ZY5FbzDOoxY0wRVMFxmz96l/Z6Lo1+TWU31AfrXKfKapl99SL9jqL lxNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-85601-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85601-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o24-20020a63fb18000000b005dc956c2c09si168113pgh.147.2024.02.28.11.33.33 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:33:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85601-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-85601-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85601-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 419AD289FA3 for <ouuuleilei@gmail.com>; Wed, 28 Feb 2024 19:33:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B94471EB3; Wed, 28 Feb 2024 19:33:12 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 022D374413 for <linux-kernel@vger.kernel.org>; Wed, 28 Feb 2024 19:33:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709148790; cv=none; b=aYnIN7Vem0ncIctMbc0e36gSL8JnP87NwHkCWD7yit5iYRBg4OfA+Xsm/Eky0ejBLsIBy+ebIwX9UQ135Oxjp47+Smik1Mt9l23oDY03mSwzjULvbJT4II81ky2yNCLoW+2NqNbOIVnac+EhOC97ZFtEQqnQecsVhg2v98IGM4I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709148790; c=relaxed/simple; bh=7IGzCLQMLGkVRkVb5V5G0IQKCXdsrlywwviMolD2M04=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fh0Z6Zf2ZNeL3OygjcgpT+o2FNxcEy4+oWh6oJbxAOOQWERWvJqGq1+Y83YUFLhbcdlGzsxQ/z8+Q158O3CzSxl/JF6nrMBNOzZDj/Qtfyw9JhC8FcBXw5ARrPTkG+kRv4Ud/7doPDYrQqG6WyIaW2bBnYweyBVTQ5ts88emNRk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4E139DA7; Wed, 28 Feb 2024 11:33:46 -0800 (PST) Received: from pluto.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AE5693F73F; Wed, 28 Feb 2024 11:33:05 -0800 (PST) From: Cristian Marussi <cristian.marussi@arm.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, quic_nkela@quicinc.com, Cristian Marussi <cristian.marussi@arm.com> Subject: [PATCH 1/4] include: trace: Widen the tag buffer in trace_scmi_dump_msg Date: Wed, 28 Feb 2024 19:32:35 +0000 Message-ID: <20240228193238.2102157-2-cristian.marussi@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240228193238.2102157-1-cristian.marussi@arm.com> References: <20240228193238.2102157-1-cristian.marussi@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792172427134799487 X-GMAIL-MSGID: 1792172427134799487 |
Series |
SCMI misc small-updates
|
|
Commit Message
Cristian Marussi
Feb. 28, 2024, 7:32 p.m. UTC
A bigger buffer allow for more diverse tag names.
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
---
include/trace/events/scmi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/trace/events/scmi.h b/include/trace/events/scmi.h index 422c1ad9484d..3be75752c56f 100644 --- a/include/trace/events/scmi.h +++ b/include/trace/events/scmi.h @@ -150,7 +150,7 @@ TRACE_EVENT(scmi_msg_dump, __field(u8, channel_id) __field(u8, protocol_id) __field(u8, msg_id) - __array(char, tag, 5) + __array(char, tag, 7) __field(u16, seq) __field(int, status) __field(size_t, len) @@ -162,7 +162,7 @@ TRACE_EVENT(scmi_msg_dump, __entry->channel_id = channel_id; __entry->protocol_id = protocol_id; __entry->msg_id = msg_id; - strscpy(__entry->tag, tag, 5); + strscpy(__entry->tag, tag, 7); __entry->seq = seq; __entry->status = status; __entry->len = len;