Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2422316pxb; Tue, 23 Feb 2021 06:47:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVwJxzHcoxAKtKE74EpbaJ5fujKJrNoYUWkVvSpTzjLmSKyaiHaKYMhcy1/Ui3+nHgLJMi X-Received: by 2002:a17:907:3e81:: with SMTP id hs1mr134097ejc.316.1614091649426; Tue, 23 Feb 2021 06:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614091649; cv=none; d=google.com; s=arc-20160816; b=TKJvcSau9kR5vS+B/w6DqVHuKFRFkxjXb1EY8LO+/Npa5vDlnJJxXFOREppG6UlGTa eZsAj3wyt1agaya75upmV8m3fVocMPgMeZBb8z/KPyYKfcQtOgUSpm6Iluytq7TXB34f TM2Z7DrEj97c9/ADi+pgNh5tmBP3mh1cWN003XH29ePDAvVVakkIm8gdn1OalFSLL4Af UrnhlOgw2XBFQ3RyrnacPwQJP5zcrjLkAvM0GbWI/tlH8g+R1WySDevC631aXAlaWQm8 jLQbUufzmmNBypKqykhP9YcCSUJJwoJm+fX8QLThiK+Ryp/hd+AsgsAANMsEkQF3BOdi CVug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=sSv2m/Oxkuv7Aiz1HdY8i2VEpOamk3v884+hRQONhg4=; b=al2wS+HTB1mw7rblBX58WUeO9ZNVhL7c8SCFkENXgSJiCb0CRE16umNVH73toE+XCc yXDGuhiRmUlptPe+iusS/A00nxuwDcVWNJew5D0NqMGRTOo2YfRpTFPcesqyjXRzeyT4 0ncXf8gIzq7CgzJzDq/2NeV+TPjf1SkpE6LQp8C7Y1TIX2spZgScWzyXTEVycxKWcGBZ Z1bSciBFk0ksS0igsL/ZEpMhNCugmI7QQXJiLmPeBEmtWxcEblq/OO08BBcZGrmfpmXz iDqiVZHrvnlIzC1cKIojSSFT1uPDIuL82SOllTu5g2u1/b23OpCZl0lFNsMyXmn6/Jxx dRKA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si7376900ejr.703.2021.02.23.06.47.03; Tue, 23 Feb 2021 06:47:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232987AbhBWOUU (ORCPT + 99 others); Tue, 23 Feb 2021 09:20:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:47786 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232326AbhBWOUS (ORCPT ); Tue, 23 Feb 2021 09:20:18 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 103EE64E58; Tue, 23 Feb 2021 14:19:37 +0000 (UTC) Date: Tue, 23 Feb 2021 09:19:36 -0500 From: Steven Rostedt To: Jens Wiklander Cc: Jisheng Zhang , Linux Kernel Mailing List , op-tee@lists.trustedfirmware.org, Linux ARM Subject: Re: [PATCH] tee: optee: add invoke_fn tracepoints Message-ID: <20210223091936.5b390f35@gandalf.local.home> In-Reply-To: <20210223131124.GA2303918@jade> References: <20210210144409.36ecdaed@xhacker.debian> <20210223184026.22c86356@xhacker.debian> <20210223131124.GA2303918@jade> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Feb 2021 14:11:24 +0100 Jens Wiklander wrote: > I used the -strict option. > > ./scripts/checkpatch.pl -strict 0001-tee-optee-add-invoke_fn-tracepoints.patch > WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? > #44: > new file mode 100644 The above is just asking for someone to take maintainership of the new file. > > CHECK: Alignment should match open parenthesis > #68: FILE: drivers/tee/optee/optee_trace.h:20: > +TRACE_EVENT(optee_invoke_fn_begin, > + TP_PROTO(struct optee_rpc_param *param), > > CHECK: Lines should not end with a '(' > #71: FILE: drivers/tee/optee/optee_trace.h:23: > + TP_STRUCT__entry( > > CHECK: Lines should not end with a '(' > #76: FILE: drivers/tee/optee/optee_trace.h:28: > + TP_fast_assign( > > CHECK: Alignment should match open parenthesis > #89: FILE: drivers/tee/optee/optee_trace.h:41: > +TRACE_EVENT(optee_invoke_fn_end, > + TP_PROTO(struct optee_rpc_param *param, struct arm_smccc_res *res), > > CHECK: Lines should not end with a '(' > #92: FILE: drivers/tee/optee/optee_trace.h:44: > + TP_STRUCT__entry( > > CHECK: Lines should not end with a '(' > #97: FILE: drivers/tee/optee/optee_trace.h:49: > + TP_fast_assign( The TRACE_EVENT() macro is "special", and checkpatch notoriously stumbles over it. I usually recommend that people ignore the checkpatch warnings on TRACE_EVENT() macros. -- Steve > > total: 0 errors, 1 warnings, 6 checks, 86 lines checked