🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #15976

Re: [PATCH net-next 1/2] net: phy: use const char * const for phylink_an_mode_str

#15976
From: Andrew Lunn
Date: Fri, 13 Nov 2026 13:53
10 lines
8540 bytes
On Thu, Nov 12, 2026 at 02:13:56PM +0100, Christian Marangi wrote:
> The local string array should use const char * const as reported by
> checkpatch.pl. Use the correct type as to mute checkpatch warning.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Technical Details
Message-ID: <86b2767e-c2a6-4bc1-ab30-c69069edf253@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362681-linux-kernel-netdev=dewy.ru
References: <20261112131358.106442-1-ansuelsmth@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362681-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 1/2] net: phy: use const char * const for
 phylink_an_mode_str
Date: Fri, 13 Nov 2026 14:53:05 +0100
Organization: Usenet Network
Message-ID: <86b2767e-c2a6-4bc1-ab30-c69069edf253@lunn.ch>
References: <20261112131358.106442-1-ansuelsmth@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1437948"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Pr49nMfBNn6dEMhyaVZizD/Z1e0= sha256:aaweTvuGWd5VJ3+r5OEJ7VNVlB0ORrN+uFmaChg55Ys=
	sha1:b9B2efBE7M20YD91cSDtsjW97bw= sha256:L39AyRHKAJWY4zO/mpXlZL76Cg8HjES1PlYxXW6CN2E=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 68BB111467B; Sat, 14 Nov 2026 00:05:10 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 31JU4DSHG9QJ;
	Sat, 14 Nov 2026 00:05:06 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-362681-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 13614114645; Sat, 14 Nov 2026 00:04:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 640892C58D4; Fri, 13 Nov 2026 13:57:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794577992;
	b=qOxV3ivtHZqOsMHdb74c9sTvS+xo8A4QRGGi1M7c9xthMZg3y9Hylldp+orA4XYp+4W5
	 1n8YeV7x/Vvq2nBozO42n007kWPp/ePwLk2duBfkMbtaIdlzCR/LJaFRoleYG+vxqLpZD
	 OOjjc4QW/JgxPv/y/huF6DbkdR7ooEn/cVFWafOwrhZZddpyIkN8D2iZN8tOVHwAf/o8n
	 xJrnopX2UQhQs/popa081dbR+VWsr3D+lZ7cKlnVKoMfab3ecrf14H9v480RA2qNV3f/A
	 lnVv4+R2fAX4gNFGvgWJD6dmdmH4AqWpJHAf1qG8iwgTP1zlJF0ijSkoCo3CsvV+L3w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794577992;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=eNPXoMZBdbQ6lsSA3xFnPDYFpW0633UT58mBQMobSHc=;
	b=Iy9GsEDsprMNvuUvHbKMrWgTab9sVlYrRaW4eOAm7PPudvyIJVqV0mCRLM1Nzr0RX/eR
	 H/M6/77HXnz9By0xKfUIYYCOwXu7e8MZQ7lQkjOkE9g+g9vo3fwkJgZKo44OppiuEiJRU
	 INZiP+zCSF4rKMSoaHn+fkshFQe1HFnG4eEiVASfoFfD7lRSej2/hVdRyEawuUcqd8pTy
	 qsenaIVdmb3KINUw026odCki14OO00gxNehW9A5XKa0KDY02AuT2/jsEWX5IYawGyr6+r
	 /Qh8zG0dYRnhuzjH1pd5XH0/hR7HejYcsEus8GmPrf0XqcVrX0UHxFHcUcNqi53+FEA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=WoNtbOXO;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 91C18606A8AA;
	Fri, 13 Nov 2026 13:53:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=WoNtbOXO
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794577991;
	b=b47zStQsgYEwwAzHiLNUK0vat7RtqG76umk8FkhZTnf7npj/IKCX+zK6+IOB7LqmJO/8
	 +AO3ho2y9ZNyXXOQiWefQj0h5L91ksZaJ6z7+P5pB4fehjLhww8VuIPPByPGwM5o93xn0
	 PrOBjVE/h//+gUUBVmayc+c+1wKz4NlHymJ7S3S6NWsYc080TDyfbAzEz77rdBYnNmpJQ
	 u0ItQ4Tzcjbc8FR+E/boknA3Qw/1hgT77uSqMWKMHcGD3O/3uXLWtfaOvMdb0BqVxdnDE
	 fimEK2nQL4F2A3kdywqar7o3IDZa4e1zqqLHof1+WcBIiCN+RILcAs29+DcYM5HL1zw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794577991;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=eNPXoMZBdbQ6lsSA3xFnPDYFpW0633UT58mBQMobSHc=;
	b=GfqBZ0VetK1lQlmCfMpxu7/OMT9/XFsTyGdTVoSjVF6e3wVdkfN9ACintQOjibMHv294
	 LgLgP+pe02y8sfjGFKN9mLbuQRjJPua34uzG3mlsjqy0J6WV8YWg0piQCSIESmzlOzUqG
	 /1qeiG/3KtrP8fT4yMH4kyp51fyc5YQlEb0lPN4H5vgFNG8urTRE0h169BzBavTj5So6Q
	 NEKoOoUCm5SS7kvzkmqJcLbIIyFiCnPfwxGyYAFIseNXRuVH6/8yN5fvGCfBYFhIaSgn2
	 Bw1LfJ3heqYycNd2DtZ8hOm248rb78M3eazT1A9HcxFBjCXmEVkgLvsXaIV7SubmjFg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=WoNtbOXO;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DE7B606A335;
	Fri, 13 Nov 2026 13:53:11 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6DE7B606A335
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=eNPXoMZBdbQ6lsSA3xFnPDYFpW0633UT58mBQMobSHc=; b=WoNtbOXOnGqJlexXVOkQz5G56N
	75k0eWrP4gezA7BNoAk8Ow4hdtnLXtaJmV2MAA73VICqfqRg8R46zjq87m0m8curZTQDQ4bfdr2qZ
	gzQ8AABjdC0CQR0zp7i/u4rLiRQebdECCZ0tzLnW0UddXCtlxrqNAe2lWQ6MYa7wef5Q=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xRriD-00GHpT-A6; Fri, 13 Nov 2026 14:53:05 +0100
X-Cc: Russell King <linux@armlinux.org.uk>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261112131358.106442-1-ansuelsmth@gmail.com>