Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp314347lqe; Sat, 6 Apr 2024 02:22:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIqqxDb30Cm70TWgqniZeOtRuHuroufgNA8D1+bLXKtHGoiXHiQTzAiLHWnVWbNqDa1epvtmXWJk2uE92qXEY/rbDfpZYkJIXnE4KsoA== X-Google-Smtp-Source: AGHT+IF28NO7933YkckWOZov3p1z558YUjuxkF/JLVoTlQfZTmBfXMvg2LypXyXLzfdrSXqhSP9M X-Received: by 2002:a17:906:2dda:b0:a51:b008:dc69 with SMTP id h26-20020a1709062dda00b00a51b008dc69mr1525266eji.18.1712395351822; Sat, 06 Apr 2024 02:22:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712395351; cv=pass; d=google.com; s=arc-20160816; b=LIh9nWKewmgiAxx+tGUFs4WCMgeU0nijogXWaOTZZPihAGRQWpBnkhmZZySXvKyd8+ 5SHHmgnTq0AWAhzS01x6FG9TNfhfcwHiXIkFtI5Z3wXP5C7T6WPAv9OCUYytIqhJ8l8T 6bX1NBHKY/8vRUxlCf6BhMbs8dnTuksd6Apgi5WMlCK6Dc1kZ2V9AZCDNkK9kL0Fmcr+ tINp6916QfhHMWEMZ9y1HiJmOBgaXBhcoq7H6vS1CjEu9tVDl9hS2hGu5/E5ddaSmaHx DjV2BOOxa/xqxA7AKzEX6pj42uMVyA4sLWu0W3rC6aNoZ3+j/wwxN44L0rqufQxO60Eh 8VQw== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=sPI++oQ6azULQr2y2j2bIEk8uub7gGqadJrb2u+5UjU=; fh=UuLFxlyz8olUhywM0R93sh1boEhSuDjGRGIiw+l3zUo=; b=QMLvEEP7S0Qg5TyniOKKKjpovv5YxSH/UB00PeBSIfPbihyHFk/6KdRWsWqexJFEGg cKQcdBkGbO9oLPda+xmlK2sMvfOXRB06ONiOeC7AzO1cfXvDo3TMd/ve9S+KXWNZnB5v R0aoV5YqZAgpq6un9yJBO2aqzZmX9dA4vRyOZS/bSsaFrOHIhE01sY6foxkRjBqY3DK4 yYhlWlE7indq4kjlp7SXkT/JmqfKnwk6LidrqSIbpvW7tK6NcxZID6GyG5MjFYgKwVyy DJIO6NxaxTuGc+88y7fnOJCvmymnMxflC7LtICYbrpfYAI5nqApvan+FcfeTbrFDOsZ7 an6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hbmoL1MH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id js6-20020a17090797c600b00a47464f16c7si1585658ejc.519.2024.04.06.02.22.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 02:22:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133868-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=@kernel.org header.s=k20201202 header.b=hbmoL1MH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 889281F21F21 for ; Sat, 6 Apr 2024 09:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 875B83715E; Sat, 6 Apr 2024 09:19:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hbmoL1MH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B1B0822EE8 for ; Sat, 6 Apr 2024 09:19:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712395173; cv=none; b=IbqZ2/yizj1Q2k7jNv3ePmdpVGV81ZmDf5u3Bvq00jP+IHgc78tUOdwB3JguVXUrccsP5t4D1cbP+bY0y8InkZ+k8nwUmgg2uHIfq9x0Mf0D+vbaTYu1cuBT+3A5it5IsKRqKFevC+5H3rBWb26zT1RDVVbuFy018h6A9Cr1YJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712395173; c=relaxed/simple; bh=TD60yYsSeKuKEn0H7kCBzjt2joQqvZ+9T1R4Avjktzw=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=l+htuhpCAMSTcMBjAboVVXh8613ME8Fc/KNr71/NMEu5unrNq3Ws9MuJ1pK4ZiyRSVy/yv82ywRRFSShtrYhxaP/bPnf1cehkzkrUycPhXh/ubxxtFwH9PHh9zkpz5nwnJ0RtnFtsaVVoWQ7EqR4QiWPiBSDBkATVkWr5CuHlHk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hbmoL1MH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A704C433F1; Sat, 6 Apr 2024 09:19:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712395173; bh=TD60yYsSeKuKEn0H7kCBzjt2joQqvZ+9T1R4Avjktzw=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=hbmoL1MHGnXv4ia11ywmYLuNWHfsYJnBybcUwcq92tM3eonpaflABnd0s+cNv7zPN WsS9O+i1/vitPpqz854yptlqRJsYBxK7JZq4V2u3A25q1i/5SC3F5aquEbdB0QinTS yawmFXzh8scbn5IvcpSd3wMzolDdsgH2vYxbhttn3qPntOAk3wbsd4DnNyTz/tWY2T pHwChp4vv+n7pAeYWcsRU2CQlOzH1FUjlZqHM55r2I8q/X8jFhLEDKNQ8tiys2kTy9 KR+aWuxcE8z2UtxJvdBUqLUwUbPO1B911+Y3gB3fzSHW+XP3ykF/XGF/4Z591xrGup zqaVAmkDlYDbg== From: Vinod Koul To: Kishon Vijay Abraham I , "Ricardo B. Marliere" Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman In-Reply-To: <20240305-class_cleanup-phy-v1-1-106013a644dc@marliere.net> References: <20240305-class_cleanup-phy-v1-1-106013a644dc@marliere.net> Subject: Re: [PATCH] net: phy: core: make phy_class constant Message-Id: <171239517126.352396.9441266148456614839.b4-ty@kernel.org> Date: Sat, 06 Apr 2024 14:49:31 +0530 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: 7bit X-Mailer: b4 0.12.3 On Tue, 05 Mar 2024 15:18:51 -0300, Ricardo B. Marliere wrote: > 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 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. > > > [...] Applied, thanks! [1/1] net: phy: core: make phy_class constant commit: db704bf6dccc8fef77ee4a8326bf2013b828205b Best regards, -- ~Vinod