From mboxrd@z Thu Jan 1 00:00:00 1970 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 669EA18B11; Wed, 18 Oct 2023 10:20:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eriMRYuK" Received: by smtp.kernel.org (Postfix) with ESMTPS id 00117C433C9; Wed, 18 Oct 2023 10:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697624424; bh=sOgqO5PGqwB3C8z51ihJDgYx6Qkli8L//Uj/en/125s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=eriMRYuKPHmk/+70yqXpGXDVRlULhZ2BTh7nYpTXTMMim+Qmd/If/FjPVM1MCyxZ4 zLvKOFF68y1neFdxiklaOmrrsFZZ8rhawXXS7rcfn7OBi9rN+SWI0U8NP58dZVQFL9 jVThbWyCSL8HSnu2OsvVxN1MaRCGX2lYkg8GfLm/8pqAzRaJplBdhd/7X5PRdu6FM1 1yAgQOpuwRiMU0aobMOglS3I+NvE/X879Zci9zIFvuh0N78XTzXj5TVKLnBIh4yil1 eCKjJIjinBIgbbOUESBuTbqCc6/gmGCs+tjsqvCUQdF8zbJcsj6Txz7d3GQK3E4MGR c/fOHOnN+7SWQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id DC5A4C04E27; Wed, 18 Oct 2023 10:20:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169762442389.8273.11100691121228999250.git-patchwork-notify@kernel.org> Date: Wed, 18 Oct 2023 10:20:23 +0000 References: <60cb0b0c6266881e225160f80a83884607617921.1697460418.git.geert+renesas@glider.be> In-Reply-To: <60cb0b0c6266881e225160f80a83884607617921.1697460418.git.geert+renesas@glider.be> To: Geert Uytterhoeven Cc: rostedt@goodmis.org, mhiramat@kernel.org, davem@davemloft.net, dsahern@gmail.com, linux-trace-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Mon, 16 Oct 2023 14:49:04 +0200 you wrote: > When CONFIG_IPV6=n, and building with W=1: > > In file included from include/trace/define_trace.h:102, > from include/trace/events/neigh.h:255, > from net/core/net-traces.c:51: > include/trace/events/neigh.h: In function ‘trace_event_raw_event_neigh_create’: > include/trace/events/neigh.h:42:34: error: variable ‘pin6’ set but not used [-Werror=unused-but-set-variable] > 42 | struct in6_addr *pin6; > | ^~~~ > include/trace/trace_events.h:402:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ > 402 | { assign; } \ > | ^~~~~~ > include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ > 44 | PARAMS(assign), \ > | ^~~~~~ > include/trace/events/neigh.h:23:1: note: in expansion of macro ‘TRACE_EVENT’ > 23 | TRACE_EVENT(neigh_create, > | ^~~~~~~~~~~ > include/trace/events/neigh.h:41:9: note: in expansion of macro ‘TP_fast_assign’ > 41 | TP_fast_assign( > | ^~~~~~~~~~~~~~ > In file included from include/trace/define_trace.h:103, > from include/trace/events/neigh.h:255, > from net/core/net-traces.c:51: > include/trace/events/neigh.h: In function ‘perf_trace_neigh_create’: > include/trace/events/neigh.h:42:34: error: variable ‘pin6’ set but not used [-Werror=unused-but-set-variable] > 42 | struct in6_addr *pin6; > | ^~~~ > include/trace/perf.h:51:11: note: in definition of macro ‘DECLARE_EVENT_CLASS’ > 51 | { assign; } \ > | ^~~~~~ > include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’ > 44 | PARAMS(assign), \ > | ^~~~~~ > include/trace/events/neigh.h:23:1: note: in expansion of macro ‘TRACE_EVENT’ > 23 | TRACE_EVENT(neigh_create, > | ^~~~~~~~~~~ > include/trace/events/neigh.h:41:9: note: in expansion of macro ‘TP_fast_assign’ > 41 | TP_fast_assign( > | ^~~~~~~~~~~~~~ > > [...] Here is the summary with links: - neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section https://git.kernel.org/netdev/net/c/2915240eddba You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html