Received: by 2002:ab2:c01:0:b0:1ef:a04a:229c with SMTP id b1csp26274lqb; Sun, 10 Mar 2024 00:17:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV2LpwvnZfO3MPNHMTJtFY2bzwYeda2/KOob+tQMmexsSwqVCdDj9r7IvDmeH5T/dlglyfTvPevxiEZTu4E0xOwrnKHirfj4d1ZZZpHZw== X-Google-Smtp-Source: AGHT+IEcCX7LHpHDEuZYjm1AFqm+dwWoPnc/jD22g2QLkQlj/cE5MamNEU8vp8HekSFxCaJUKzbN X-Received: by 2002:a05:6a21:279b:b0:1a1:672a:38a9 with SMTP id rn27-20020a056a21279b00b001a1672a38a9mr1535764pzb.48.1710058666020; Sun, 10 Mar 2024 00:17:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710058666; cv=pass; d=google.com; s=arc-20160816; b=iYe5gK3Fck+9ihAh8vD+03g6m1bGzLKcFHTyJA8K4I8X9I7CutNcDIoOEr+5TpYFAt PZReQqSRGI/4AE/c31n8rUTimbvsysSkYkU0eZg/i8ZOV315hpXN0pKjahT4tRS1zDVd 32zjRE1VdxwDxatigJ6QU9vc7ax9eQpmuLCnVIjqDt28NyY4KkHxdTOPobch8p7gBwMs o+XyzqvBxPC3axxoFlncU/2/SX6VkWJ3IgoZC0uCUU/8yQwfhgVTlZEz8GsKpT3D1zxZ gGxc/OTUHNa3mujzJvSsbpp/9qrNoOmQOjhmdIiwMK3Aw/I7gKYqBbpwL42JaBcVVzSB pXiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=ipeJMUcLapYQ+1mbj7QL5xTGMQGKiohHCYaKH6QIFI8=; fh=QdqdRgGBEomj+HsRq6HGgFhDaVE0NWtSDZpaCcuO4gg=; b=EmQh4WsLiAiJkWF117wWmOeJ6RO/4NVhU/Z2ztT5lf8V1etksisCsTZ9oOiEXarbTE k5Kc/HnUIgKX4BkVxhiOXOnVtEJBOQjd4TQaSeJrE7bPkQiZ/J/da+1pY5EZiNICW2PV zIpA1dTHoWFTmtKa4qR4eoLdbjmgwUqBtQjSR0Zqh5x62j5j/2BnXWTPwr5Y8Xh1ts12 es1b19YsJ3ewhkwmR3zzVmRVlsWyfOqg7APuwMHZBEp28i7SSVsUiSV17uL8A9Ktoanl Hcr5PKXM/HCNkeiInUy558KjWuD6A6TFugGJvHz50htTT/GkPX21+rFehtE2B8q4+DFe q6xA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dominikbrodowski.net); spf=pass (google.com: domain of linux-kernel+bounces-98156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98156-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p17-20020a17090adf9100b0029be9d44896si1029744pjv.122.2024.03.10.00.17.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 00:17:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dominikbrodowski.net); spf=pass (google.com: domain of linux-kernel+bounces-98156-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98156-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B2164281861 for ; Sun, 10 Mar 2024 08:17:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3B641D6AE; Sun, 10 Mar 2024 08:17:40 +0000 (UTC) Received: from isilmar-4.linta.de (isilmar-4.linta.de [136.243.71.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82C4718646 for ; Sun, 10 Mar 2024 08:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.243.71.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710058660; cv=none; b=n3HfaBAl+7MceSrJrr+ujjg1FyahjPg0sWCVpWz+Q3ucxBy9tARlEF0IUpji4konnyfID8n4l8Nf8SFE2bNFRMoevU6bbt/h1cAc+3whKJNoanoSaESoifgi8+omtTOSnC6ohoNVl6w/NvjzC+13zQPCCF/SJamTiLkoavoo6Ss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710058660; c=relaxed/simple; bh=AqdbfwnuVEB/sDhG2yXcjRauBfVGmkLG7gVxljkokdY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gw2PCzwo9EX7ceXQ8jeWGNoqUASt2EriY/b+KPLdRXCIm58Skd+uOaarMOJRTZ73cQvPWl3ML8uxH0SzM0FWz2XXITZP2ytfZkkwu5OvAMW3RwJR7jIvVzCIoneMmE8PzFGatDLBKg10b31aEIC7JqFnTUgkolmJ3BuYOdbQThg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dominikbrodowski.net; spf=pass smtp.mailfrom=dominikbrodowski.net; arc=none smtp.client-ip=136.243.71.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dominikbrodowski.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dominikbrodowski.net Received: from shine.dominikbrodowski.net (shine.brodo.linta [10.2.0.112]) by isilmar-4.linta.de (Postfix) with ESMTPSA id B2C7F2002BE; Sun, 10 Mar 2024 08:17:32 +0000 (UTC) Received: by shine.dominikbrodowski.net (Postfix, from userid 1000) id 267D9A006E; Sun, 10 Mar 2024 09:11:23 +0100 (CET) Date: Sun, 10 Mar 2024 09:11:23 +0100 From: Dominik Brodowski To: "Ricardo B. Marliere" Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] pcmcia: cs: make pcmcia_socket_class constant Message-ID: References: <20240305-class_cleanup-brodo-v1-1-9bac7b015641@marliere.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305-class_cleanup-brodo-v1-1-9bac7b015641@marliere.net> Am Tue, Mar 05, 2024 at 04:38:25PM -0300 schrieb Ricardo B. Marliere: > Since commit 43a7206b0963 ("driver core: class: make class_register() take > a const *"), the driver core allows for struct class to be in read-only > memory, so move the pcmcia_socket_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: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Applied to pcmcia-next. Thanks! Dominik