From patchwork Fri Nov 8 05:19:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 178852 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp2158839ilf; Thu, 7 Nov 2019 21:20:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzv+P0B44tz/7ISGStFWIbDVVagDv+8E4ZQzjF9nKUPWiPiEpMUAQN6OgF3v+FTtixsf7yB X-Received: by 2002:a05:6402:13cd:: with SMTP id a13mr8176610edx.57.1573190422355; Thu, 07 Nov 2019 21:20:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573190422; cv=none; d=google.com; s=arc-20160816; b=01NLV7vDb82DFnIzhiEIK82+m99v+bIyTZwZAXUTNRDRYIqI62r8ntaMXq66wTtsXK /NxtGotOPvkihhfJzb9XgZValpipXTIjRevPw3pkpb1qPWs4w3W0t5qMo8SejjuIH+qh zONXcxsifNXoqy+N+a5I/Viw+Y3h6539U1BhhYjBJ6i1nPrIpLO4OcNJautlbzhGQlH0 oRg21RYVeUsx+8lRrD9L8rP7cYrKFbMnhKYDf3pKIkcA4Wo3SPnlz+84gVF3Fwmf723o x5XQYe7/UsM2PcpC0SZGMcpAd3VZz7ady/Z0BuoUTpF8nkLwu99jVYE28zduUNV6LHnb T+rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TKTqUgLFNP8L+2pgyNr2mJwmi4tnNe/kzgV9Is+uXFk=; b=BMLwST4s++DZxli4sgiFNJCwW0SiMyKm1Uy5nBhEZymUFNbJIi8Eec4Ty8LJZ5bHkm IhVRR0EXXVJYFz3vtsWpW30+3Qja+Z+PPtHRpmUeuMQEd/XDV4IRORN133r9tWp0VFxh bcQKegOQve1cBrcbNImgfiWf2A2EGjKxiZJgy2DE07H+LKCX+pw/0o/IFyBHEKT6JVmg P1cs7L0eJ4NWOz5mdmb8HvXz1wDExshdFl9R9duevGVfBBUiAZW63J51Ak8vktl1gC5Y n/u9Q+ahTuXqS6t+UEnMIumG3OsgDUHaZUcBr9rVHVg/sjMfFp+PkgFtlhEjQcbbcfyz afWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eLIcO37R; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w56si3334581eda.376.2019.11.07.21.20.22; Thu, 07 Nov 2019 21:20:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eLIcO37R; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727959AbfKHFUV (ORCPT + 8 others); Fri, 8 Nov 2019 00:20:21 -0500 Received: from mail-pf1-f173.google.com ([209.85.210.173]:39924 "EHLO mail-pf1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727832AbfKHFUV (ORCPT ); Fri, 8 Nov 2019 00:20:21 -0500 Received: by mail-pf1-f173.google.com with SMTP id x28so3875874pfo.6; Thu, 07 Nov 2019 21:20:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TKTqUgLFNP8L+2pgyNr2mJwmi4tnNe/kzgV9Is+uXFk=; b=eLIcO37Rqryh80j1DWgiUO1Z8jSmPor+2XHv08XtdnCM3k7+Mcg5f/LNldagbqiqHA lAQrJ8fsazAYpu3uBzcNicGzxRD+X3JGypwI4L6/qnuRmZJI9LIiX5qOeFuvSnKk6Hpx iYNWiZaXn58tZQyPJEGwdF4bMZ2g1D8Cia0GdPkjqDqYaNOmp/fjjeUXFKLribS24uNA xC+XRLbJ/v9K2UUqRjdrAWVzJX5iQwWQrb1hoUOnosN5JuYSSB6Y2+wYwdgUiAie1T/6 nC5Yl+TZI0Nn38EVyYznPckjSaE0E48i5ffXeAGX9EojZowiiBUieDcGDyGO3sdryFFx M8sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TKTqUgLFNP8L+2pgyNr2mJwmi4tnNe/kzgV9Is+uXFk=; b=gnGL+2FXL6Jtt2Oxb5MZQib6ddIQXnFliqI9f7o2eSoegMFj/vueVAoZNkMyqpd/99 jNplEWsXetb19Ivj8z9aEcyfIKZtDJetjafaNU43+CWzo8Hh5+PUlFa3imRqoVregYad oWKYJoex8JqdySufondot1MnBQk9fYLdicSISE0lQhipZzZxLzW0JPumo0/kvJMq5rrv hw3N+pCPjbIc234GH30oZ0uSJREoKkOq+/g7NDbQa3TMB6IuIUxylzpSFJ57ZYqVOEn+ zZsDTQp41nzWwW6xOQe5Rla157hj2frKexNpIXY+C/Jrt327Dn1BER9+m4g6cLM6WuTG purQ== X-Gm-Message-State: APjAAAWZiLJiCgvJc8IgnPqJrWj3CO+tcQ7mbeiiX20Glm6/zYwdaTtA BWizTwK4cyaaylmy0EnDeGD0PxzW1vyTHw== X-Received: by 2002:a63:dd51:: with SMTP id g17mr9325707pgj.388.1573190420080; Thu, 07 Nov 2019 21:20:20 -0800 (PST) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id v19sm3798443pjr.14.2019.11.07.21.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 21:20:19 -0800 (PST) From: Joel Stanley To: Rob Herring , Greg KH , Jeremy Kerr Cc: Andrew Jeffery , Alistar Popple , Eddie James , Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsi@lists.ozlabs.org Subject: [PATCH v2 04/11] trace: fsi: Print transfer size unsigned Date: Fri, 8 Nov 2019 15:49:38 +1030 Message-Id: <20191108051945.7109-5-joel@jms.id.au> X-Mailer: git-send-email 2.24.0.rc1 In-Reply-To: <20191108051945.7109-1-joel@jms.id.au> References: <20191108051945.7109-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Andrew Jeffery Due to other bugs I observed a spurious -1 transfer size. Signed-off-by: Andrew Jeffery Signed-off-by: Joel Stanley --- include/trace/events/fsi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.24.0.rc1 diff --git a/include/trace/events/fsi.h b/include/trace/events/fsi.h index 92e5e89e52ed..9832cb8e0eb0 100644 --- a/include/trace/events/fsi.h +++ b/include/trace/events/fsi.h @@ -26,7 +26,7 @@ TRACE_EVENT(fsi_master_read, __entry->addr = addr; __entry->size = size; ), - TP_printk("fsi%d:%02d:%02d %08x[%zd]", + TP_printk("fsi%d:%02d:%02d %08x[%zu]", __entry->master_idx, __entry->link, __entry->id, @@ -56,7 +56,7 @@ TRACE_EVENT(fsi_master_write, __entry->data = 0; memcpy(&__entry->data, data, size); ), - TP_printk("fsi%d:%02d:%02d %08x[%zd] <= {%*ph}", + TP_printk("fsi%d:%02d:%02d %08x[%zu] <= {%*ph}", __entry->master_idx, __entry->link, __entry->id, @@ -93,7 +93,7 @@ TRACE_EVENT(fsi_master_rw_result, if (__entry->write || !__entry->ret) memcpy(&__entry->data, data, size); ), - TP_printk("fsi%d:%02d:%02d %08x[%zd] %s {%*ph} ret %d", + TP_printk("fsi%d:%02d:%02d %08x[%zu] %s {%*ph} ret %d", __entry->master_idx, __entry->link, __entry->id,