Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3419644pxb; Wed, 13 Oct 2021 05:46:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvFChI91sK8hI+I5XArBB5ij7Ow3QxNez3XUL7dqaG4ADAeD1L4YBlsAsBV96MLPoAEWWU X-Received: by 2002:a17:906:1c04:: with SMTP id k4mr41275263ejg.279.1634129197745; Wed, 13 Oct 2021 05:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634129197; cv=none; d=google.com; s=arc-20160816; b=hFnL/xnsc/wtG7tBYr+7VeVGywbxvIJD1m2yrDt6aL/KbQ9SK3t39QzB5sJMJNHd43 NEEmHOJ9b9000JMdpe7thaKYhi4k+au5IDvdEAAmVH6TX+YC9Lw2FtwrygjEP1FzW/E6 VwZFBsHSxXukEpo4rUWa/IwT5UuiiN1/1a7AebsiqnOqkAwzaD/glH1Mh2gH9UfeoYJT gU4JUSYp4hufvf3IkxnRSY5arg9JsfBEIALuV18fQfjWr63v6LUz8t6LhY7ZOm55YjnK V5QKw3rtbJtgO1qFSxD/IamClYIEWPim9nwiqLkgaM9k4oqhs1E0k9DABtlrWr2q9tkX j32Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=S4GhVDw+Fsfrofz1rxLQqEvu1JY/C4U8Jk3dirRIK1M=; b=IFzieMsndd5BlHmwavG08QwL9GAglEt1E4up+AK3rOwA657rJSNymHIN/k67CPrdNx vXKykHLAdCBE+dNT2nAb3d8Xd4+x+6I/GCyA+re6nzrIZxN9zPCaH1N4jijKX+f6fjYy 1YsDf6MHlFx8rEhxVDPZPZTFdYjL6Krq3ezFT+mrfh0m4b7rVoWazIPtv4sRVWpNvdqt qDdG1D/wZYaW8xG97Qg8h2WQ01POS336acx19O3AMDBQeNXIg3Hfsg7xz1/bK+NZC1Iy 5w+E5ldaaZBHo/668d37IplODeT04HUnbv2Aq/ifPUPUPQ5mBg2BzUnck6Ra2Aytn9Wg 76VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OoSamRfC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si29519624ejo.650.2021.10.13.05.46.13; Wed, 13 Oct 2021 05:46:37 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OoSamRfC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233852AbhJMMoK (ORCPT + 99 others); Wed, 13 Oct 2021 08:44:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:44566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233690AbhJMMoJ (ORCPT ); Wed, 13 Oct 2021 08:44:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AA1656023D; Wed, 13 Oct 2021 12:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634128926; bh=kDr8TMsNHXVKNQ/FqtOohJdE8A+EeYT7qjuR0SyPXhs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OoSamRfCgyrl+N8Hc+45pC3+Wk5YENmCvIX+D1AfuKd3iugEfyjeXFqNKwnS68yEE SxyXZDk4chxy5yZc6E0INn0Vj+fEHLFqyLI1jDZBzg+lyQqo1J8sDIgJ9DA7Eppqp/ DOKEWMPviLlVbXZvDIl6bzl9+zXL1sgj8+XfIipQ= Date: Wed, 13 Oct 2021 14:42:04 +0200 From: Greg KH To: Jim Cromie Cc: jbaron@akamai.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] dyndbg: use alt-quotes in vpr-infos, not those user might use Message-ID: References: <20211012183310.1016678-1-jim.cromie@gmail.com> <20211012183310.1016678-4-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211012183310.1016678-4-jim.cromie@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 12, 2021 at 12:33:08PM -0600, Jim Cromie wrote: > echo format $str +p > control > > can be finicky from within a script, `awith respect to quoting "`awith"? > of input terms, so lets not complicate things by wrapping that input > with either quoting char, using <%s> instead. > > This draws a checkpatch warning on pr_cont() altered quoting. > no functional changes. > > Signed-off-by: Jim Cromie > --- > lib/dynamic_debug.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c > index e645807cb20a..75e702223730 100644 > --- a/lib/dynamic_debug.c > +++ b/lib/dynamic_debug.c > @@ -132,7 +132,7 @@ static void vpr_info_dq(const struct ddebug_query *query, const char *msg) > fmtlen--; > } > > - v3pr_info("%s: func=\"%s\" file=\"%s\" module=\"%s\" format=\"%.*s\" lineno=%u-%u\n", > + v3pr_info("%s: func=<%s> file=<%s> module=<%s> format=<%.*s> lineno=%u-%u\n", Wait, no, it now looks like you want '<' and '>' in the input lines here. That's confusing, why is this really all needed? thanks, greg k-h