Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4100077rwl; Sun, 2 Apr 2023 23:04:08 -0700 (PDT) X-Google-Smtp-Source: AKy350YyS3K8MxYgCOzzr5Wh7KJx0WZp6BSgB6Gunyx522fW4nmGKRvC9iS30EEgKXcptD6j4Ixu X-Received: by 2002:a17:90a:1957:b0:240:95a4:1e3e with SMTP id 23-20020a17090a195700b0024095a41e3emr26366504pjh.33.1680501847854; Sun, 02 Apr 2023 23:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680501847; cv=none; d=google.com; s=arc-20160816; b=ScH1+rECldGcXDCY13wTLgZ2FHYLuD7G5f4+Knc7HIzMDFJxlXPrWjAlRHY80fqRG9 Dg4PNhFuem35giU9SZKabsueWv8zia+JDqd+ONePCEj5W07RXC4syBzFZhcAQkEDNLKF J9PBbTFqn5jQ9ywPyRSABfZiZCmdD3KnRIDlRalhVORlzrDGMbiFOGvYw7CSBHKgl4Zw Qmv14/wL7K6km71z8dK8UxvY6X6/KEoVy5JeV1WJkX+BtOdnD1XV9dn7WyNKmbnaPaUg gllWL2y3udo++oIhspUhXniiuXAHK1sC0O58y5yEER716pxM0bVNEF7s4KtjyrfNgM+z 9quQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=5vPToei9N6LUQ8UzrqVcorfU2LeCJxqpeXeeHhlRfwA=; b=ggbR3g+UeTo7QSsRixH2dKBsJxuT6bQwEOcpmNSWg52pRAupytUQ0te3TnKlV8UyFM 25Ym0eCgqeYw0557Al68IgU6ySf4b3WPebRiQYloebOoTLmrp80AR2yONsg9cvRgKX0r Kz/hZ3vnZluHBiWe2PzQbUkqzpaXUs24FpSCHfD4YsHyXDuEfugbKds2tjjgwRUstd8r uzGIH7H+YiUX9Qukvz4zTMuYpb7T7j513C/VO+1tvTVj4hI6ujA+PWp8SkRPQp38E8jg E+euAmKAF8qsJoq+p5rCG5Q7C8knHvHUNcfMP8OdMSyAs5oxLlolmP310hJTfX6kM1gm 5cuQ== ARC-Authentication-Results: i=1; mx.google.com; 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 fy1-20020a17090b020100b002400d82df5asi7192121pjb.57.2023.04.02.23.03.51; Sun, 02 Apr 2023 23:04:07 -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; 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 S230511AbjDCFsB (ORCPT + 99 others); Mon, 3 Apr 2023 01:48:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjDCFr6 (ORCPT ); Mon, 3 Apr 2023 01:47:58 -0400 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8426212A for ; Sun, 2 Apr 2023 22:47:57 -0700 (PDT) Received: by mail-ed1-f54.google.com with SMTP id h8so112545873ede.8 for ; Sun, 02 Apr 2023 22:47:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680500876; x=1683092876; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5vPToei9N6LUQ8UzrqVcorfU2LeCJxqpeXeeHhlRfwA=; b=H3+oIRJialVejapeE8VT8ITxIA+D4DyLgBZi7PP1gtbprYdnlIm26kJHh+2R9TtB0J xmukzcNeuCdrgUQnfLRtwEDSdmpG+4MUos0suckmRT7NRAQgyJ1weL8PrILMAK3LWSP7 R0OZ+jU/PrUB/HD2dZ3l3BaB0u6rxmPz8VD9+LGlWV2tiNXiwiK/nrfecI2tGAPa5AjF vnkiIF2V1dvDXSRHwYs1Y+gZAdZHUwRUvSzWtEC/BPza+Jg/mDcphRyC5bAHaFns1N89 0/40AHy0nEHsuLYOuCmFhf1zGGhtTwgttR1aNLVaGy9molyvbEPp8h5v1KNphvdaMDAR OO4Q== X-Gm-Message-State: AAQBX9fS+AyiwB22QIOzUsUw9/C50GG5T2VBIrM8M4KN/Y0F363qaqkl GHTRK9PGV4S3+jpvO8luY9V5ceSFM+Kr4g== X-Received: by 2002:a17:907:8e93:b0:948:aac6:7def with SMTP id tx19-20020a1709078e9300b00948aac67defmr922364ejc.19.1680500876155; Sun, 02 Apr 2023 22:47:56 -0700 (PDT) Received: from [192.168.1.49] (185-219-167-24-static.vivo.cz. [185.219.167.24]) by smtp.gmail.com with ESMTPSA id rv27-20020a17090710db00b008d606b1bbb1sm4030218ejb.9.2023.04.02.22.47.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Apr 2023 22:47:55 -0700 (PDT) Message-ID: <00c3f7a5-6948-995a-9254-115f57cddbcb@kernel.org> Date: Mon, 3 Apr 2023 07:47:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 5/5] tty: make tty_class a static const structure Content-Language: en-US To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: rafael@kernel.org, =?UTF-8?Q?Ilpo_J=c3=a4rvinen?= References: <2023040244-duffel-pushpin-f738@gregkh> <2023040250-landowner-unfitted-11f4@gregkh> From: Jiri Slaby In-Reply-To: <2023040250-landowner-unfitted-11f4@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 02. 04. 23, 19:58, Greg Kroah-Hartman wrote: > Now that the driver core allows for struct class to be in read-only > memory, move the tty_class structure to be declared at build time > placing it into read-only memory, instead of having to be dynamically > allocated at boot time. > > Cc: Jiri Slaby > Cc: "Ilpo Järvinen" > Signed-off-by: Greg Kroah-Hartman > --- > Jiri and Ilpo, this is part of the larger driver-core changes to make it > possible to move struct class into read-only memory and is used as proof > that this all works properly. I'll take it throught the driver-core > tree as it shoudn't conflict with any tty.git changes. FWIW Reviewed-by: Jiri Slaby thanks, -- js suse labs