Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1825315rdb; Mon, 8 Jan 2024 11:21:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKljZur+Kru38/3OYq5Hh4b/IyekhvsBnmcjVi1grOeHjfoLUvnASBfIpnWHmER6Y4kUlc X-Received: by 2002:a17:90a:118f:b0:28b:2f4f:75e7 with SMTP id e15-20020a17090a118f00b0028b2f4f75e7mr1985312pja.13.1704741692136; Mon, 08 Jan 2024 11:21:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704741692; cv=none; d=google.com; s=arc-20160816; b=p5yu+kzKkloZNdiEc7O/KDFzH0Yi+D+r886Npir4me94ZOu/9f3so47jB64mo/RPLC kZE8kG9djd2V6UlJlZMMNx4Qy1Op9dPX1gwJRaHEvTiV05nG8Gv2ZyVIlfVd6rjlXo4Q esuExgiwpyKd49t32SD52/yxMRX5i1ADaRg8ce5gOQvoCvfnB8+SAUQElh3hswkxQb/I vKI/wrk2dicP4OWchWWtbnB5TWA0wxMZ4nzOMVcBh0kjAW5m7ecjvgT0vwKJhAKaghhi yYoEsaraWfMNDOQuEguW57NvrMjiBQ2CYaduHA451KDoh6IwjviH0UH6dSa4+bcpTTh2 369g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=MJ/F39xXMArlnmCZSt6CTSsvJBrrxiIaZmBJXFj0YhQ=; fh=VACp7j/+IDxD20v8jc65pkQ2BDAghL+d2deh48U5njM=; b=KXcAsfFOZuNv0DI7rw7nkIJDMTSBkUaPF+JwaRZD1Pbv/PJP/QMLLLwSAcDgMv3uet T6haBgVFd6HdoGBoNG3WqBvNWkWphBg9SmMFHBZ4ogPDeJ5Iq/ThRb3DVp6PMhYQwg9t 8idJqGI4LsTT4qvc61OJJxpVOznMnLU/W/JzVZWEg7n1u3/1RMOsoI89ZnQNXr9S63MO 0Cl355Gx7z9rCSt2hNOTtov7vYElxpXFHZOEZhzVsO4yUvLenYwBvHz358bYA21XZtG4 oB7nl0Z+p9Ea4j1DAtpy1tBJNT+6dOWTROBgcYCSzkiEZLOjxlOTmD2/QZE9xNK8YnGM rO8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZy9zvII; spf=pass (google.com: domain of linux-kernel+bounces-20032-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gj1-20020a17090b108100b0028c68141bb6si321553pjb.151.2024.01.08.11.21.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 11:21:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20032-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZy9zvII; spf=pass (google.com: domain of linux-kernel+bounces-20032-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CDCBE281EB9 for ; Mon, 8 Jan 2024 19:21:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1D0F55E46; Mon, 8 Jan 2024 19:20:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FZy9zvII" X-Original-To: linux-kernel@vger.kernel.org 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 2A37E55C2E; Mon, 8 Jan 2024 19:20:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48014C433C9; Mon, 8 Jan 2024 19:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704741612; bh=0l6P9VORSHKX9C1VVcnePBrBJcdPlZqju9wqjY9MRyU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FZy9zvIIzkrZvDsS+N8wwX5nFskP3q+p2uCn+Ovi+OxSt87RrC7a7vdbVzJ6ZA51Y dNld5DcscSQbBXPI8d2psa2Xn0bP60pLjdFdI+J+dal5EJcwENA4efiGFloM/3Fw1z sHOW8BIyMSjRPpq0tYUVm1EqZhe9JqsNHiueXzHxB9ahSdUOq9xSAlnefqVpb/83dR MHoJc7lNwAuLRrKylFxTv4pAbYjK0TcGADidcale5kgBKhXx4Wziy8Rq9U1gZGFOCk rYmjlJNX7sQBWNWpbG/eKwoJmwDPNpFKJuECS3ukSlUrKlsPjRAItliJkRuh2XjrlJ E/NmHaYN05JLQ== Message-ID: <716b825f-67b7-4d08-9bd6-41c9bc4deb3d@kernel.org> Date: Mon, 8 Jan 2024 12:20:11 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 1/2] net/ipv6: Remove unnecessary pr_debug() logs Content-Language: en-US To: Breno Leitao , weiwan@google.com, kuba@kernel.org, "David S. Miller" , Eric Dumazet , Paolo Abeni Cc: leit@meta.com, "open list:NETWORKING [IPv4/IPv6]" , open list References: <20240108191254.3422696-1-leitao@debian.org> From: David Ahern In-Reply-To: <20240108191254.3422696-1-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/8/24 12:12 PM, Breno Leitao wrote: > In the ipv6 system, we have some logs basically dumping the name of the > function that is being called. This is not ideal, since ftrace give it > to us "for free". Moreover, checkpatch is not happy when touching that > code: > > WARNING: Unnecessary ftrace-like logging - prefer using ftrace > > Remove debug functions that only print the current function name. > > Signed-off-by: Breno Leitao > --- > net/ipv6/ip6_fib.c | 4 ---- > 1 file changed, 4 deletions(-) > net-next is currently closed; repost in 2 weeks once it is re-opened. You can add this to both patches: Reviewed-by: David Ahern