Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4898290rdh; Wed, 29 Nov 2023 14:07:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKPlBMinepCfHkkCG3XXPaf73zHpirC72gTA9iANXjOteD0T55qQWnHFBfzokzmRJMXfxQ X-Received: by 2002:a05:6a20:42a8:b0:18c:4ec9:68fe with SMTP id o40-20020a056a2042a800b0018c4ec968femr15892455pzj.24.1701295644392; Wed, 29 Nov 2023 14:07:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701295644; cv=none; d=google.com; s=arc-20160816; b=BlIMiz7fnWe08CPrBzctGoONcxfCt0v2h2HIfyBgD6rMPrEHL0YlMiWxLw7UKG5sYq ksJSCD78N/WbbSMCyhXpwzqisu9annjgHmGX27kOtfmPtxJG1xtoDi1P5uSOT+voatjf XH+Hte7bxFyyWAEaaWSDKk3obqEF102JDgO5KdOdhGgiVlAMRwMz7tOL43E1i0z1hCbL f/vbJ0qwTNgiSVeVN+zDZzq+6FdpMshG3o0zCh//Egvg/YvKFBfyY8EqpLWFM22BXWAw d0it5txOgM905d4Hs3rjd6AF2IzHllGzo4u/E+lL250+bwm/pR7pgmVI0/4eS/N5xuhH 6CSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=OTDbU+4DhrBb9a/GVRSj3N/+je2uy/EVWxdmw6bMQd4=; fh=WdbX5lC4s4QTRIySFBz5ZNaYmmAHtcBGjcuMLRmFdmo=; b=TwBeZDTUz3gQPvefcnvnloiuAfbd1kHiAkh9shCKOj1H2Sz68OifBkfqP5kJDsLXlX tbhpLah+ixJEWD2WRbT1Ly4cgTZ6KsEulVKohmg6VJb6++s2wetD+DbWcYr3gzrvzYfH Cbf3tSyHXhai+bLDuhwHFBi/dONoQkrIyEItQqGmk0tIKETk/10cURmE6A0xRXOB5Lq+ Gw0YW8iRMClZthdGa1JFmUMf510ALm8fSD1Mv3RDy5PS9tULgTx0JVTqggONbMD1LhTz ECS7l7qlv7FYIOuELH9baRnuvR9RFG7BxKSio9tMPlUUhK56w/YHkVTPZQbi6rATTM43 rRIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=KZlzoi4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id nh13-20020a17090b364d00b0028526216f31si2056454pjb.106.2023.11.29.14.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 14:07:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=KZlzoi4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id F00D5801B9E4; Wed, 29 Nov 2023 14:07:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229703AbjK2WHA (ORCPT + 99 others); Wed, 29 Nov 2023 17:07:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjK2WG7 (ORCPT ); Wed, 29 Nov 2023 17:06:59 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F4F4A8 for ; Wed, 29 Nov 2023 14:07:06 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D06ABC433C8; Wed, 29 Nov 2023 22:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1701295626; bh=hj3Te/T9hGa3/9yOQDI/Wfga2BG1FCvCpS7ExpBlbhg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KZlzoi4VdWfJ4plvIIb7UsnQhTWYD+aOcZa570957vdpgs6B3NpmXMefMn/Z9NIU2 wEFFP40rOzJRAxuW6DaizBLUseDEj7H9NalWrUz8dxUy6W1iKqDpF5peHUjHBq3zPW RiNm1A2aWKqLt+3nN2mUmDJO/cGdsQr77BRAlWo8= Date: Wed, 29 Nov 2023 14:07:05 -0800 From: Andrew Morton To: Alexey Dobriyan Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] proc: make struct proc_dir_entry::name const Message-Id: <20231129140705.c1a7faa8f49572f5a50d2416@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 14:07:22 -0800 (PST) On Wed, 29 Nov 2023 12:46:57 +0300 Alexey Dobriyan wrote: > Multiply ::name into "mut_name" and "name" which is "const char*". > > PDE's name must not be mutated on live PDE, hint modules they should not > do it. Do any modules do this? If so, we just broke them. If not, why bother with this change?