From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C20FE77188 for ; Sun, 12 Jan 2025 10:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Mkd81thDs43GrkNfxooIGDBBXoUlRu3l0uz3F9oCDIg=; b=4K1ZKCkCljS6Wm cg3loZlLq/9OY7cOEr3rcuaH1UVyem5N/3e5r3pbL6bVxQDm9PtTbETKCU6C9rL/alJI0DyACldni kmRTygvYFeyuJkpwtJe3CSLaZTs94KJDG8LmH0ftgmaz/KlvhFIdKsywo1r6EPfIBvVkUGacSRGvt dE0UliP++CW9Ie+d3W9umMZtUhqKy0Nv+PpTWITBr0T1lJvcFsDhnZkpFFxfVBpRd3XesWChLRRkj eFgTDGW26Lk5sVH4WnqxYARiWxvZXbQmKEWGdcYIWMVhE8P0cz8PaTFN8bMuZkQcIfr/DrGkJgJuN aErxJKN0hGnH9minqivQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tWvKw-00000002WC8-2e6A; Sun, 12 Jan 2025 10:36:54 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tWvKs-00000002W9w-00GW for linux-riscv@lists.infradead.org; Sun, 12 Jan 2025 10:36:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736678206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sjZIf+MqzlX40O8hdTacUc+jXg2UIC0x4trWd6422To=; b=hxvAnfx75M59GBleaXok6sYn7RKxH3lrvTUk7PtBjEkVBgj76fW04BQYRzrYBR9+BX8v6L Qw+0FKVQiv3nIBe1HgoeZ2t8pNQPnwjhY99GYz7wG2XpPvn0ArR6IjL65f0hs8G5KTB0bG WfdxzWNnrYeQWb5ic3/FjaEIHWJ5N80= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-543-0DSN8VPiNBSr_DA-YHIeIA-1; Sun, 12 Jan 2025 05:36:43 -0500 X-MC-Unique: 0DSN8VPiNBSr_DA-YHIeIA-1 X-Mimecast-MFC-AGG-ID: 0DSN8VPiNBSr_DA-YHIeIA Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A2F3A19560BB; Sun, 12 Jan 2025 10:36:36 +0000 (UTC) Received: from localhost (unknown [10.72.113.4]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5808B195608A; Sun, 12 Jan 2025 10:36:31 +0000 (UTC) Date: Sun, 12 Jan 2025 18:36:27 +0800 From: Baoquan He To: Joel Granados Cc: Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Kees Cook , Luis Chamberlain , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-crypto@vger.kernel.org, openipmi-developer@lists.sourceforge.net, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, linux-hyperv@vger.kernel.org, linux-rdma@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-serial@vger.kernel.org, xen-devel@lists.xenproject.org, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, netfs@lists.linux.dev, codalist@coda.cs.cmu.edu, linux-mm@kvack.org, linux-nfs@vger.kernel.org, ocfs2-devel@lists.linux.dev, fsverity@lists.linux.dev, linux-xfs@vger.kernel.org, io-uring@vger.kernel.org, bpf@vger.kernel.org, kexec@lists.infradead.org, linux-trace-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, Song Liu , "Steven Rostedt (Google)" , "Martin K. Petersen" , "Darrick J. Wong" , Jani Nikula , Corey Minyard Subject: Re: [PATCH v2] treewide: const qualify ctl_tables where applicable Message-ID: References: <20250110-jag-ctl_table_const-v2-1-0000e1663144@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250110-jag-ctl_table_const-v2-1-0000e1663144@kernel.org> X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250112_023650_106622_DD8F96FC X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 01/10/25 at 03:16pm, Joel Granados wrote: ...snip... > diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c > index c0caa14880c3..71b0809e06d6 100644 > --- a/kernel/kexec_core.c > +++ b/kernel/kexec_core.c > @@ -925,7 +925,7 @@ static int kexec_limit_handler(const struct ctl_table *table, int write, > return proc_dointvec(&tmp, write, buffer, lenp, ppos); > } > > -static struct ctl_table kexec_core_sysctls[] = { > +static const struct ctl_table kexec_core_sysctls[] = { > { > .procname = "kexec_load_disabled", > .data = &kexec_load_disabled, For the kexec/kdump part, Acked-by: Baoquan He ...... _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv