Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7764447rdb; Thu, 4 Jan 2024 07:05:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhx5Py7LN02EEKopD601+zT49m1NXFqVWT0z7iZhdy4dyOnfvBR26c4JZpfyQYDFZeznka X-Received: by 2002:a50:d74f:0:b0:553:2b99:ce48 with SMTP id i15-20020a50d74f000000b005532b99ce48mr437308edj.44.1704380748360; Thu, 04 Jan 2024 07:05:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704380748; cv=none; d=google.com; s=arc-20160816; b=cz8UY4cy9fbaZ9Pkouh+m4kw98oR5gUDCN/NuP1XeAh9A4i6YwYS+Qh4l+ztMq6qma 1b6pfMyl9GfbFR9q2H0zIGbvQBx0Y7httlaPk7B0HWH5hScNRbVPzwQdi0webyVeTIPO OvfiAs7JGFHX5T54CSk5Im6qtnksVT8tnLDvnX+khwF0pIKYI+pZLyydXUZyJvhxuTPh KTz73EgDb6KAAZbFICL4ZSkcPRB8w5+7HqZ2nuHz/hnQxIEZJPghe4hf3FEOHXHQdDrb YWQ7IllauAuBjGyO1+wsuG25sILQ6jGv3pwUx/5jeApDQ8B7dhmHwj7V8v6152BKBhPP F0PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=LnrUmjp7EOgzymstXLldO1RkqSLWkZbEHxZDR7QmNII=; fh=AuaFKPUwFYzSLqc7bUwLZldSXfNG4AOo7Dj5zlnvlas=; b=JnSElyCSkp1ZDxrZd8hewf/cswkfVkxYDpKARVdlKSAOk24sbFlrGrfcrZIlRFu3kE haETO8ZO5p7IQchtUJewtFav9eESWavReUHSoGay7/MeKictdbZNdSPyqcNE82C9h+nK 0hSCDpaS9pY7H0p1cqLchUd1wXzUPtzGTqWlI2+ebevlDNCZ1MYQw/YqM83GJPz+xjqi 9PXYE4mbjd9SZs+ghuKFuIFFzH5NzwzMJZaHSD6jXZBAYWdMXHT8rWXPjK+DL2zHzrKl PNseINJPvlY7c4dOPDQJw0SDveBNdfvHKQbe3MN0geEqJNuRnA1g3PFqu5AYz7SO5/Ty ylag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DDY6pdYI; spf=pass (google.com: domain of linux-kernel+bounces-16827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b9-20020a509f09000000b005571956178fsi53547edf.457.2024.01.04.07.05.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 07:05:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DDY6pdYI; spf=pass (google.com: domain of linux-kernel+bounces-16827-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16827-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 14FFC1F2796D for ; Thu, 4 Jan 2024 15:05:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2A3728DD8; Thu, 4 Jan 2024 15:02:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DDY6pdYI" 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 2DBF92420D; Thu, 4 Jan 2024 15:02:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BCC91C116B3; Thu, 4 Jan 2024 15:02:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704380565; bh=2YZbvYyt0a7TBx89a/LXKdhtP/fd+epxuxNolaWdMk4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DDY6pdYIRGuy/IqX3neDbTH5fLNvqXdNxzXiXjZI0ESY2XeKYIpyJyRyri9uNHeCZ S9QoGKTTb9cySRS8FvOJMwpEv4t7MHsKcBToHC1Kt1A4M1jX6JJl8Reo5fV36HlAcs Ex5LTPmId7JuXPLrmpmKld8/mFFDteGQVZFIGBb3CWqA4Ev/e3Dw+s7YpyLAsspfze eqQqBzy+C2puiszzKCVHYdJ+VAihA18L6y9/UQiC5ww2XbGPmAWU8Feug/5Cw0mRNb YLY5HoY9sedUmx4VJ0gTBvjYmczjofc2C9Xtg+Z057yjlo5UfoWAkEkaoUFvByjeku aTlpSLQyUpsQA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4D9CC47073; Thu, 4 Jan 2024 15:02:45 +0000 (UTC) From: Joel Granados via B4 Relay Date: Thu, 04 Jan 2024 16:02:28 +0100 Subject: [PATCH v2 07/10] printk: Remove the now superfluous sentinel elements from ctl_table array 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-7-836cc04e00ec@samsung.com> References: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-0-836cc04e00ec@samsung.com> In-Reply-To: <20240104-jag-sysctl_remove_empty_elem_kernel-v2-0-836cc04e00ec@samsung.com> To: Luis Chamberlain , willy@infradead.org, josh@joshtriplett.org, Kees Cook , Eric Biederman , Iurii Zaikin , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Thomas Gleixner , John Stultz , Stephen Boyd , Andy Lutomirski , Will Drewry , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Petr Mladek , John Ogness , Sergey Senozhatsky , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , Balbir Singh , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, Joel Granados X-Mailer: b4 0.13-dev-86aa5 X-Developer-Signature: v=1; a=openpgp-sha256; l=918; i=j.granados@samsung.com; h=from:subject:message-id; bh=0RIXHtz2qk2L/BtCOsMTqHqgTDQk5qxNwP6u/9nvwkg=; b=owEB7QES/pANAwAKAbqXzVK3lkFPAcsmYgBllsiRP58+mgIl1Ljw8f0Tp729I8/loQ4fDbu14 K2lkSCYZECJAbMEAAEKAB0WIQSuRwlXJeYxJc7LJ5C6l81St5ZBTwUCZZbIkQAKCRC6l81St5ZB TwAeC/9GoHY3KhH9zUZQZJiDaYIXsyY3oxjLSIE8BsKGUZ2BwE82BWnnEF3foe8KPS2FRq1GsXX PJgzxRPEa4Tnr6JXWq7bA/T3CcdQz3EeaJdvnP66CS5wr5hQ1F7zl0K098VXOj2ooZUbfM1xyt9 pi1uM2q/Arm/dH3D4FjNorf+rGPaSCIYbVDdNcKCC2Le9uGj94EWXvpM/YUTRmOLIG1cTPXnY45 dlRCCSzpsC7sVPhG1Uf/qia7QsQHGDqKJHLYy73JJ9pOg+TgL1xH2EXRVXEPkyl9MRT0woRCgHG /SEZ356lVGqKjmG/GK0ox+1rTKYYkPT2KHpRPcvUXZWML/jHY9bimbi754rX5/sNiJMY1S6rJuw ebltqt9IFrvbVS9kwrHQfoi2oqS8wTxb1r2HWGwzj9x35MN8cX2ABbJspICnuqHot5tZuFGbnkn 8kSe7/H2N2fneoP2+DtJGcowYqW2alz+q/q1vg7Ilu7t0eRY81/M9ik0oPwi49Une54ME= X-Developer-Key: i=j.granados@samsung.com; a=openpgp; fpr=F1F8E46D30F0F6C4A45FF4465895FAAC338C6E77 X-Endpoint-Received: by B4 Relay for j.granados@samsung.com/default with auth_id=70 X-Original-From: Joel Granados Reply-To: From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) rm sentinel element from printk_sysctls Reviewed-by: Petr Mladek Signed-off-by: Joel Granados --- kernel/printk/sysctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/printk/sysctl.c b/kernel/printk/sysctl.c index c228343eeb97..3e47dedce9e5 100644 --- a/kernel/printk/sysctl.c +++ b/kernel/printk/sysctl.c @@ -76,7 +76,6 @@ static struct ctl_table printk_sysctls[] = { .extra1 = SYSCTL_ZERO, .extra2 = SYSCTL_TWO, }, - {} }; void __init printk_sysctl_init(void) -- 2.30.2