Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp922258lqs; Wed, 6 Mar 2024 00:18:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXD8iKVdcc/CMxOnBy/JOmeBTAfIR1ollY7wtRDxLFz9cF8dsn1XJj+xeJPto9GxNCWr35WFnTUv3pU9I2azlWBd/3lVVUpGOaRHUcK+g== X-Google-Smtp-Source: AGHT+IHBDWHZ79XgiqKBCtAQ/LpHfja8MpAe5ZNwgSJ8uu8kIlXZg9uI6azpyALwghN58J1Ah+3m X-Received: by 2002:a17:906:2cc5:b0:a45:87d0:9010 with SMTP id r5-20020a1709062cc500b00a4587d09010mr4113166ejr.76.1709713109618; Wed, 06 Mar 2024 00:18:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709713109; cv=pass; d=google.com; s=arc-20160816; b=JojcNZiIkX3IMkxW/Qj+1LyvG/OmFG048rm3fP3hWh2I91Abd8W9QyReRUn31JuBhx mDaPGAg9yHK93XZFJHH9S2pzn5dokt7ZWuWUU3EeN8KsmONtQzWKi/xEYUK7Q9ztj69G 2J1drY4i4hV6simcf2TOXPXBlMQ2ue6ZstGIUjZX43ZDBi+QNXfydPFLU+mIvmdXYwTx Ykzr7d3dbq3tHJ1flIX+XLPYX7b7068pfQ6xkcMGrSDFs2U1kr8ljSQf7U6UDAIVISmL l7L90+mHdbw5XwCmB4MDShIqLJA8GByLQ7NpcsTqFbPXty7s2nqupp8ivqhOjKRu0G51 J7MQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=RQharEHEYWoPma76ARZR3AdbTSGUP1YPwJ6YXDDDB04=; fh=CgouF/5/8171MBxnqZCbvFUTId3BI1CyY4axF2r3XCc=; b=PlBUVYtPgoWsx5twlj/EkYBPGoGW76vocvqIcJzABv21vCBr3EIT3qHEqvxNbMAr3x ovY/nQ8p6uM+3F7V2UT4cVBUtMUfid6luoZ0ttuWSMKxzijSk+9LhlN35NLgYPtXfTtD NP3zDtThIKjvKtMqWT5enSp/FASb6ybFE8KcrNlc89e6F6I1p6V6h6sb2WiyTCOrFm8s nvpDK3n9Zo+mNZQxCEfuhCslDWli2Eui8MQjMrWXm6fjc6l57IH2gWMtk0F43WURLXJ9 oG8n0OnBMVqKBqoXu5uY9l64S3VP5wvwqVJwnCB+66ejSWU/edm3Js09j1M31IWfWk1K PexA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gN6lJXYr; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-93484-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t8-20020a17090616c800b00a43532c219asi5717034ejd.271.2024.03.06.00.18.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 00:18:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93484-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gN6lJXYr; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-93484-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 420111F22B6A for ; Wed, 6 Mar 2024 08:18:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 811375D75E; Wed, 6 Mar 2024 08:18:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="gN6lJXYr" Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 363E2171D1; Wed, 6 Mar 2024 08:18:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709713093; cv=none; b=DgNhftloU5MKoltNEFF43laNd/qh1IM/7wSpXCpfdxMSyFs80irstg2IsDzusPCE+LsXKgc4ngKorVznqnY8zICAVemcC73ly8xk1n1GD94i/aKOQ9y2YoM2F10XY1CWpXp5djDal5hDvs5dLgdqJp7hqTCV10KPjmnDiDxh6Ms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709713093; c=relaxed/simple; bh=RQharEHEYWoPma76ARZR3AdbTSGUP1YPwJ6YXDDDB04=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mdO53jsoXjh24CHmQt8Z9C8E2LeypvPpm9iFuLfs/K4uxt6+IcD76JlDKhkJGVI8t51Lm4nIUbZTaC1rpyMLeAbRo8AJK33RgQY/LvQnVmZD1SPtRwV6hT9k07xxGa6o5QtwZIhQK7tssuXgGUfeAG5Ex1BqT+IhbZRlF1NC/ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=gN6lJXYr; arc=none smtp.client-ip=217.70.183.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 3DCDC40002; Wed, 6 Mar 2024 08:18:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709713089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RQharEHEYWoPma76ARZR3AdbTSGUP1YPwJ6YXDDDB04=; b=gN6lJXYrVjraonAorfjFbeu7zHFeBxGvARW6ndXzV4XLAUPjJvGpxMIUq+iFToy2iUBGgw IwhLLERxMg/5AjsejODXwLhh8X70PfrKIlW5xiaQSKxhfMl1tyIP7E4LwvCeM0Co8qH3nj hpctzJnH7ekEqjf9q/qRe41uJBwOZy93Z5bMKoHD1pcU8SlYGOt9rc/5/v2tplJMzvo45T DmJEGL1jlJg1khqZcy+JzuVnnRADeRtR9iiR0Ektd+d/0pCbvXe6E97K9ikS5tXGe/Z0+N zut/Jdx0XW7wJTmPrhUcqBPyZwtFgx2MJZABVcwmtblB/gar2toakAZVhlt6VA== Date: Wed, 6 Mar 2024 09:18:07 +0100 From: Miquel Raynal To: "Ricardo B. Marliere" Cc: Alexander Aring , Stefan Schmidt , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH wpan-next] wifi: cfg802154: make wpan_phy_class constant Message-ID: <20240306091807.4fd6a6a7@xps-13> In-Reply-To: <20240305-class_cleanup-wpan-v1-1-376f751fd481@marliere.net> References: <20240305-class_cleanup-wpan-v1-1-376f751fd481@marliere.net> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Ricardo, ricardo@marliere.net wrote on Tue, 05 Mar 2024 16:55:24 -0300: > 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 wpan_phy_class structure to be declared at build time > placing it into read-only memory, instead of having to be dynamically > allocated at boot time. >=20 > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Acked-by: Miquel Raynal Thanks, Miqu=C3=A8l