Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp20848rdb; Fri, 18 Aug 2023 12:53:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGu8JtbhLs6nR02ZpPzCRjOVdWt4o+rjQgjRupJ/dsT1Fw5i9UWjewqnO1Wf+OcYFPKlAhN X-Received: by 2002:a17:903:120d:b0:1b9:ea60:cd91 with SMTP id l13-20020a170903120d00b001b9ea60cd91mr287695plh.7.1692388389506; Fri, 18 Aug 2023 12:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692388389; cv=none; d=google.com; s=arc-20160816; b=AyEN8E6ODK9lltKp6P6HXrnWt9r8T0s8Hnu1Muupw7Skghx72Z/O6slbfTciY+dBc1 gs+VYmzK78K9cqEbB9MXWaOlIi/c0nnqskhPJFXaqrD60dHfb3z2JQmue3hIhHHygFf9 iG5mscBvPqcBiU49lnBt36Adyoyy5ZzkIo+B5FX5uXS+rNSUn+gL/oOjXV19u+Wp3FHL rcDCm+8k4HMZonW/HO13cgPqxqGkMPjOjKtx6JM/9UFOo5TBDuX4dLUhaf+rLlU0AJOy 3myTvrGphJqfCDQEpUrhoedUXpEOlxGtIFnxB1HTibnmu2s4NGgDVZgt4Hezvtvz4Zqs v9UA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=NI0o3d92ZF5daqxqOy7dCRGtFkwsuB36F6mfZwcEAKk=; fh=tzK2YpXKs/0cAxuiqMBGpU5X/txkyBX6y3z01y8znew=; b=rSHc7A7Y05QxxAS8OqplXhcc2SfWJL25gAxNHxWNdPZAQEkhV81P/L/Zlq/4xwkqZM Dsd0KHQDJjxE0lKYySRyYzCwgLYN3SlMo8yGrd5d8NCWfVifkRRvq63wM4jSu6TFFBRP MQ/rmQ+flVpcLii7BKpn0IuZ/Mq6H1MBpCT+YEBaOradDM6bbGx/BR/2RSYp8VaC0/di 9MqMinoVWzMlEfMI88iYiOTnPxrF++6ARrpdjS7YeOTn613TJTqQkxOzmBMoFccUdqdm gGX+x6h6OT2VJVYtulSE1yBlcMvo/+HlY2L8X7tulVMfWU6D/fHhZPytnweVjNtNSKwi Krvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oc3i7GC2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p20-20020a170902c71400b001bdb34b67bbsi1851795plp.407.2023.08.18.12.52.55; Fri, 18 Aug 2023 12:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Oc3i7GC2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353097AbjHRHoI (ORCPT + 99 others); Fri, 18 Aug 2023 03:44:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353480AbjHRHnf (ORCPT ); Fri, 18 Aug 2023 03:43:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1098E30FE; Fri, 18 Aug 2023 00:43:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6E32D632B6; Fri, 18 Aug 2023 07:43:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93E2AC433CA; Fri, 18 Aug 2023 07:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692344612; bh=uIkyqAp4uBLl9WDF/1DU4t+pGT5SVGBfcri3yVMdClw=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Oc3i7GC2R1fa1qipSwMVgCn/dWG1cw3xZmWt+oDAh1IuMUELTTZyCxz/7jcg5aJaZ owuosSzuk3dPiyhnsNVxV42FCGGnhdeO9ab4n7klJP/3gw8MWmpo4AfZzXA3VAc+58 hAOyBH0qQZ9wdkAQGnjEGl1EwL78aWYq+b/xHTj/0kigF1MBDKywQrcP+rSUIcfIdl lRW1Qy9upa/KVXtjCHcEv6gFddFyxm+cGSIFQPBTrukVB6S2/bw/fLR3GFnC769ciC j9pQySWIRRUcAHOtO6K2Yi0mc62f9AmlHWpSuViFek7J4/xi1GHKqSbRB6S0TgLrEq b67vBivwq/LuQ== From: Lee Jones To: pavel@ucw.cz, lee@kernel.org, Ivan Orlov Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org In-Reply-To: <20230810174905.7997-1-ivan.orlov0322@gmail.com> References: <20230810174905.7997-1-ivan.orlov0322@gmail.com> Subject: Re: (subset) [PATCH] leds: make leds_class a static const structure Message-Id: <169234461129.1161430.17914576905328241154.b4-ty@kernel.org> Date: Fri, 18 Aug 2023 08:43:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Aug 2023 21:49:05 +0400, Ivan Orlov wrote: > Now that the driver core allows for struct class to be in read-only > memory, move the leds_class structure to be declared at build time > placing it into read-only memory, instead of having to be dynamically > allocated at boot time. > > Applied, thanks! [1/1] leds: make leds_class a static const structure commit: 43a707ae58406200597b03a5be782e726b3c175b -- Lee Jones [李琼斯]