Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2042843rdb; Mon, 9 Oct 2023 10:32:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqVoWj1A7mi8XPTgIgTNnNJJ2eg8RclefmHCz9dqNc078tDeJACQOAOFjXZOPbruLnnsRn X-Received: by 2002:a05:6a00:1410:b0:68f:d35d:217e with SMTP id l16-20020a056a00141000b0068fd35d217emr14649595pfu.2.1696872736692; Mon, 09 Oct 2023 10:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696872736; cv=none; d=google.com; s=arc-20160816; b=bMm5pu4Xd+udsMpK40BOH1Ym0FgpEh2uEXgI3R49+HVNgtNLLJi8TqwFzHw6aCaYwg 9/SLUQALHzUHLAta6iGJ2+6x+YrTS52sPLH5IOgEOPCcmNktb6nSnw0gJEZHgrMQwMD0 XMa/uzvLvwhtl31HlgJDNX8QpMFSfG1y84OFcN7DGUPQEK+DgfH3ljl+wDt7jFJg0xEZ /vZ3jHq6wHPLP5MSYLGRbF0OIo2PlMnJO9keKCyyM7cD73dA3aasCMr7JeuD6+MXN4Vf l7CLQ01A2Ce7sKteZFe3GfItscPH+wTPrQirnHjoOpxZxEbZ1Z7WRcQC0n5dZhyE75GX Z6Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Xi617DcefGnHb/bK65tXDagtKynJEYTzaRlrSLA38JM=; fh=NbT83JtJShecFIJunlQiWfCMfQCI2HfNkMMDii9gVbs=; b=KD11tkCZLho0aN6ob43cfd4gIjLxCCU3yCeuARm07qozF9/dQsv3qz40hFsDeew7gh CoWGy+uBCABjDJckeWqbENNi8YjRefCykRide9whvVMIvAVm05m3Y0tT8kyOzeEKsTVK 5aCNFF7mDRUg3nR/955/8a7nASQgPikJJ3JxWKVrQwDll0aHlMuNVWRvbmdbmdkG7lRc OHIcvZ0oS6hTE5yWMOKboXIb5JWuNVRruR+Kf1oY/r0Y/qj6G40mQ7r8XaUaI0rCchZA WO+xTsZp/tp6jFcKdTc2Io3z2ZE1+IKeqeCq1vJgCUrSEGYMVKOoRFOj0DrF8C7YLKWd H6+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=n7htfkkY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z1-20020aa78881000000b00690ba709d02si8108152pfe.381.2023.10.09.10.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 10:32:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=n7htfkkY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 47675802A5B2; Mon, 9 Oct 2023 10:32:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377944AbjJIRcD (ORCPT + 99 others); Mon, 9 Oct 2023 13:32:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376824AbjJIRcC (ORCPT ); Mon, 9 Oct 2023 13:32:02 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9869F94; Mon, 9 Oct 2023 10:32:00 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E99C5C433C7; Mon, 9 Oct 2023 17:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696872720; bh=XDeMdfLHaRv+b+MlRUUeKv/nia38YeOU/WDZx5uPdgo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n7htfkkYUR12EIz1FfiE1jX2eFvUEHVFPryxLjmFbPuCO63JBXFgzZFBrFSr8POoM nOqBt8Ex9K985cGV6+qhK/D41SCIeSdiXbcUvI9IgH95SuKRTpkX2tFZxU1fggV/Co h4FDmqr5W2gDoU8y1iBRT+VGpOLpUw9MzF+NINbA= Date: Mon, 9 Oct 2023 19:31:56 +0200 From: Greg Kroah-Hartman To: Max Kellermann Cc: Jens Axboe , "Rafael J. Wysocki" , Borislav Petkov , Tony Luck , James Morse , Mauro Carvalho Chehab , Robert Richter , Jean Delvare , Guenter Roeck , Jason Gunthorpe , Leon Romanovsky , Bart Van Assche , Joerg Roedel , Will Deacon , Robin Murphy , Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , Keith Busch , Christoph Hellwig , Sagi Grimberg , Alessandro Zummo , Alexandre Belloni , Jiri Slaby , Suzuki K Poulose , Mike Leach , James Clark , Leo Yan , Thomas Gleixner , Peter Zijlstra , Pavel Machek , Lee Jones , Arnd Bergmann , Bjorn Helgaas , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Sebastian Reichel , Krzysztof Kozlowski , Wim Van Sebroeck , "James E.J. Bottomley" , "Martin K. Petersen" , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, nvdimm@lists.linux.dev, linux-nvme@lists.infradead.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org, linux-pci@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 6/7] fs/sysfs/group: make attribute_group pointers const Message-ID: <2023100944-fancied-garter-f09b@gregkh> References: <20231009165741.746184-1-max.kellermann@ionos.com> <20231009165741.746184-6-max.kellermann@ionos.com> <2023100921-that-jasmine-2240@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023100921-that-jasmine-2240@gregkh> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 10:32:12 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 07:25:57PM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 09, 2023 at 06:57:39PM +0200, Max Kellermann wrote: > > This allows passing arrays of const pointers. The goal is to make > > lots of global variables "const" to allow them to live in the > > ".rodata" section. > > I'm all for doing this type of work, but this is going to be rough. You > sent patch 6/7 that hit almost all subsystems at once :( The way to do this right is one-subsystem-at-a-time, right? Why not start there, doing it cleanly, and then at the end, change the driver core and then just the subsystem pointers? That should be much simpler, easier to review and verify, and many more changes (and probably take a kernel release or two to get through.) thanks, greg k-h