Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2554353rdb; Mon, 4 Dec 2023 00:08:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0swfP34B7pwp4p3soYtB0jwxuTBQwzDjMxr4LSabZNP0jr+lt2WL33rn6usXzS2gKqekz X-Received: by 2002:a17:90a:6c22:b0:285:8a2a:1744 with SMTP id x31-20020a17090a6c2200b002858a2a1744mr1128283pjj.0.1701677334367; Mon, 04 Dec 2023 00:08:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701677334; cv=none; d=google.com; s=arc-20160816; b=yXocBs9rxIviPbBIWDROivigKUGOsvIAw7f8dDxjNNJPtmpadlYBs2kQIDcODdmoNG MMCtb+f9j05knOCEHCloMalqMrq0YBhI8Jcb61ahulYVQ3L4j+XMQi5HpbP5u1lFQv0f 6Awj0XIkbVaJuc3+dgmYQqa7gAGU9hJcFTKz3U798B/W5pwkYdfXtfAf85wM7X/XlMZu f9354fHzLcsSaa47AY1HH8Ph3umlaaXfcJxaW67sJ1n6g61+0AgqlLk3CqZb3YGvBu9a MOEjPRfSnThW/FbZCGVwsgAF/Sjv+rIe3DmxvKNNmSg+Axa8VzONzO6dwmIhwshFeF8e YAQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=f2y9/ppYN57CEHYzuyD5ClOKnDUeOOgBKWrjjB+z3Ko=; fh=1v5zqbO9sIGUc9bsdyhYE0zxdK1knZz2xnJYWUWMFKo=; b=sf2yUyRZVwN+F7OXFxtF5RAqRdZgCUQDnN/a/SPFug4tGALWlXqipCAq8F9Iy6j7kq E3sp7tQn10y5AJ2gov2T1Q+8CciJJIVMoYb1SPZlWMrRpswGcYtWL0y4euZ4yNmLxzKU hM6S0XavDIQKqhTNVgE88ugMFdZGHUnIRvOiL5ZRhCp4R0ufxpnNTuLH26UHrL3DA0We rpkyEve2XHG7KWtYjg5zROpwPYu4FWkOsM8etfqr0KxhGWhM62QpL9rlie7EqtVosbCa KuCvj1H1dJnUaTr7ZUZCXQ/8EkfdKaSs2Xuts3mFbtoRtyuDC0mihp19Yj7K70bycj62 6jAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=HwF1ZmCk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id hi20-20020a17090b30d400b002859d376d2csi870201pjb.29.2023.12.04.00.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 00:08:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=HwF1ZmCk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 174CF809566E; Mon, 4 Dec 2023 00:08:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343762AbjLDHxa (ORCPT + 99 others); Mon, 4 Dec 2023 02:53:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343498AbjLDHws (ORCPT ); Mon, 4 Dec 2023 02:52:48 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2653D42; Sun, 3 Dec 2023 23:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1701676352; bh=YBK5uUUq4Kh+mKXkGIMtbxBTs5GdJO+UnTKPHI6RDtU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=HwF1ZmCkK3/cZsLZOJv8oo4VnkXsmy+e83QTxGR6OAMWy6034AS1J05Qn6iJDUsRa NARdauvNtYkyLtyyJLRFVL7ZgNTceZ1GxnYNFemiMoGsmcTpJCCoAvGGCwuh/bqW8H 7eXQnHLp1awlSAlZluXVC2x32y7csTxkaF56ZgfA= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 04 Dec 2023 08:52:29 +0100 Subject: [PATCH v2 16/18] const_structs.checkpatch: add ctl_table MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231204-const-sysctl-v2-16-7a5060b11447@weissschuh.net> References: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> In-Reply-To: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> To: Kees Cook , "Gustavo A. R. Silva" , Luis Chamberlain , Iurii Zaikin , Greg Kroah-Hartman , Joel Granados Cc: linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701676350; l=637; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=YBK5uUUq4Kh+mKXkGIMtbxBTs5GdJO+UnTKPHI6RDtU=; b=nnAQEMVMy+ZyEC0A8HsNGfIvnZ+oZD9y9hLvLr/X2z+gUtVWX0NEtzyKPo6I2oGRHVEgqgT2b 3WDkqH05KtyB4unVcVSlwDpFO055j+V5E2NTovlZVL9t8mub1r/wjSp X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 00:08:52 -0800 (PST) Now that the sysctl core can handle "const struct ctl_table", make sure that new usages of the struct already enter the tree as const. Signed-off-by: Thomas Weißschuh --- scripts/const_structs.checkpatch | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch index 188412aa2757..0621c2d652bb 100644 --- a/scripts/const_structs.checkpatch +++ b/scripts/const_structs.checkpatch @@ -5,6 +5,7 @@ block_device_operations clk_ops comedi_lrange component_ops +ctl_table dentry_operations dev_pm_ops dma_map_ops -- 2.43.0