Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp46724rbe; Wed, 28 Feb 2024 11:33:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXPCbUeUh6kzCo+GXuwHIDTZk82W40ycor5Zjg0kfqPLBNMLPenM9b/pp6IBfSFUWWgueoE9EslnLTwcFCLsIUUPs4wqELb08M+EFZ5wA== X-Google-Smtp-Source: AGHT+IFTGTIPS4IAt1ATaNrYOISKdv8X2cA9JxTiDvvexVrmQ5t546yDvxTBgczpB/Xel+YR3/wd X-Received: by 2002:a17:906:80b:b0:a43:5c4f:711d with SMTP id e11-20020a170906080b00b00a435c4f711dmr487786ejd.38.1709148801491; Wed, 28 Feb 2024 11:33:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709148801; cv=pass; d=google.com; s=arc-20160816; b=Iu0xEZO3k9Z8GCxYLSW8LG23Ib3DImr2OQ8FVdjFF+A1eeuBLTTQyXc3Rl/dahwubC q0Zi9Y+oME2VsvDbiR5XtMHXH6UZbf5rw+DvFcWWdmzU5AuqNdeSmq5Zkbj75mCxOnfs yV8r4ifCZ7nxrdbrT5Mnsuk1V7K53kZI9INeCzP69+mTOBJuGpeY6Kf85wRSUgThp3HG t1WYTDYBOHTbkCmRxPLfU5y4216PkcC8TAUWcCEHudBmorYarILQChvQNqz9IV8e4dkC o2COXPwLLs/Ln1Zh3TiRWisQnvw7DcpGkfZQUC4/n4mJHcNAYrte6yoULjFFk1p3nbVL iq6Q== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85601-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lt22-20020a170906fa9600b00a43bf254294si1561977ejb.902.2024.02.28.11.33.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 11:33:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85601-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3B0981F2472C for ; Wed, 28 Feb 2024 19:33:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A55414AD07; Wed, 28 Feb 2024 19:33:11 +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 ; 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 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit A bigger buffer allow for more diverse tag names. Signed-off-by: Cristian Marussi --- 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; -- 2.43.0