Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp906611rbd; Fri, 23 Feb 2024 07:13:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWb41RFJKB5n+isVtsOyZogHxXP1YiE4wbtz3zENVeSjcLDuO6vudTVTXbW1cUMA+TOSwtCzdz8NAQe70CFURPutbgfz71DbsdHkMpzzA== X-Google-Smtp-Source: AGHT+IE/aEWC2tYD5VNxQsqNtePJ9j5X4XG3iJNS2euVLG1yfdZmuTIGBjLzwDLdMSYutOZxZyVY X-Received: by 2002:a81:48c6:0:b0:608:9dc9:6a99 with SMTP id v189-20020a8148c6000000b006089dc96a99mr128547ywa.2.1708701191788; Fri, 23 Feb 2024 07:13:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708701191; cv=pass; d=google.com; s=arc-20160816; b=Be1AzLOyWqCb9gnpuyirCTUlvxckUrCf8fqjLXtmpmFVtZq5z09+3ez7xN7bFmWIrC IZjrkYXZJTMWkW7/w/jZvM5d3iGOO71J/JiVEUw8Xtabab9+yuUDKi/icTE5wrEHh558 lNaDqm2LKynhtNqnLt4ebqUVjm10uqplRdwFu777qg4KSpwmRLj9dlAF8SxukKU7ReL5 597GLzltS4yx987TUkGi0aa9iEKEyfnCBJm53FraXXBsrhjjAuO13fJNV1zbCiTSS/3u U5DHxsmZ3yYbSMvplPoUFcc6HzZznPkfrNSxj3N1DciVZ+Eg3PSJG1dQCoSdLDWRYeW1 Yfzw== 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 :subject:cc:to:from:date; bh=8VA5UUI+eU4iIuzIU4j1g+y3qnWI/HUU+d4xVQNXu5M=; fh=zn6NoEm94UtlgIYk5Yu7xCB0SS6PPQw5HCfzKe7uy8c=; b=vcxyYZZR1MQWgNJjLL1Gak13yXqBX2iMIAck2+0l2IJ0+9yjCOHIsoQTf1rNxDBUnm D59XuGYu42TJBKjEB7120NNjnOZA1x6eiFmyYxFB5hDaCCZSberOe9vgcpoOW/UUIDMH aVJoHlJFufk/9pGyVA2qgOJjQqf6Z1ESs9cwQj3vDcCToolA7m1A5ADuLWfu4VHuVUJa rQeTfvB/MNbG2SSyp6rANdsh31djnCgEcKXbwlpPGauAa2HFZhpqOy+mZ0HaEcUAfLCk U9eyiMfqA2Y6+1jDkuOcIFgYP7Y0Kemt8m9fGjI8e3CDMoZ6B/Y+KodclLFFIjIN16qW BHdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-78578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78578-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l4-20020ac84a84000000b0042e58d7b15fsi2516688qtq.26.2024.02.23.07.13.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:13:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-78578-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78578-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3891E1C21C12 for ; Fri, 23 Feb 2024 15:13:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04E4F81ACB; Fri, 23 Feb 2024 15:13:06 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84BE435EF1 for ; Fri, 23 Feb 2024 15:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701185; cv=none; b=PTdXddrrXfRJJcFOJZvyg9M4unTFqpfNC41nmtw6Nl+YTVMQ9bmF0Y+YJco146QINDPxHFfoc8bQM4rD2ABMCd9qY0PEzSQAeTN87CwRsSGIa9Of5M2Gk/rmsdLbtBCILfUv211t7NPzMSaYIU/5E4eIRib8RLs7qOOu8oeqHJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708701185; c=relaxed/simple; bh=vHd3FYt9Efa+bMZ0+xD3vTKyeLH+4aXhKA+sU9dr4a8=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ncMOZQqNVJld6YM9Bwh8zRJhnli6YesTc9i1k5cg65b5O5Vtsley4/An+XAZ9rKWMc0r2HKdfPmCZRnq018hzEJEA9DmZwTvbZqwgcwKNMEFshg+1dBh/ZvYuG8yDO8xGVdsinaWWnSe/nBUfiWdYlgoKWk6L1+F4urm+hsskSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00A4BC433F1; Fri, 23 Feb 2024 15:13:03 +0000 (UTC) Date: Fri, 23 Feb 2024 10:14:56 -0500 From: Steven Rostedt To: Jeff Layton Cc: linux-kernel@vger.kernel.org, Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey , Chuck Lever Subject: Re: [for-next][PATCH 06/13] NFSD: Fix nfsd_clid_class use of __string_len() macro Message-ID: <20240223101456.25ca7bab@gandalf.local.home> In-Reply-To: <191757a0ccb52fefa17b690a44299442fcb4e052.camel@kernel.org> References: <20240223141838.985298316@goodmis.org> <20240223141902.394601874@goodmis.org> <191757a0ccb52fefa17b690a44299442fcb4e052.camel@kernel.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 23 Feb 2024 09:36:14 -0500 Jeff Layton wrote: > On Fri, 2024-02-23 at 09:18 -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (Google)" > > > > I'm working on restructuring the __string* macros so that it doesn't need > > to recalculate the string twice. That is, it will save it off when > > processing __string() and the __assign_str() will not need to do the work > > again as it currently does. > > > > Currently __string_len(item, src, len) doesn't actually use "src", but my > > changes will require src to be correct as that is where the __assign_str() > > will get its value from. > > > > The event class nfsd_clid_class has: > > > > __string_len(name, name, clp->cl_name.len) > > > > But the second "name" does not exist and causes my changes to fail to > > build. That second parameter should be: clp->cl_name.data. > > > > Link: https://lore.kernel.org/linux-trace-kernel/20240222122828.3d8d213c@gandalf.local.home > > > > Acked-by: Jeff Layton Thanks! -- Steve