From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="gN6lJXYr" 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: netdev@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