All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Schmidt <stefan@datenfreihafen.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Andrew Lunn <andrew@lunn.ch>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Vladimir Oltean <olteanv@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Hauke Mehrtens <hauke@hauke-m.de>,
	Woojung Huh <woojung.huh@microchip.com>,
	UNGLinuxDriver@microchip.com,
	Claudiu Manoil <claudiu.manoil@nxp.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Colin Foster <colin.foster@in-advantage.com>,
	Michael Hennerich <michael.hennerich@analog.com>,
	Alexander Aring <alex.aring@gmail.com>,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-wpan@vger.kernel.org
Subject: Re: [PATCH 09/12] net: ieee802154: at86rf230: drop of_match_ptr for ID table
Date: Tue, 14 Mar 2023 08:52:31 +0100	[thread overview]
Message-ID: <9378bf46-566e-2b83-3cb3-dfd662ec88da@datenfreihafen.org> (raw)
In-Reply-To: <20230311173303.262618-9-krzysztof.kozlowski@linaro.org>

Hello.

On 11.03.23 18:33, Krzysztof Kozlowski wrote:
> The driver will match mostly by DT table (even thought there is regular
> ID table) so there is little benefit in of_match_ptr (this also allows
> ACPI matching via PRP0001, even though it might not be relevant here).
> 
>    drivers/net/ieee802154/at86rf230.c:1644:34: error: ‘at86rf230_of_match’ defined but not used [-Werror=unused-const-variable=]
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>   drivers/net/ieee802154/at86rf230.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
> index 62b984f84d9f..164c7f605af5 100644
> --- a/drivers/net/ieee802154/at86rf230.c
> +++ b/drivers/net/ieee802154/at86rf230.c
> @@ -1662,7 +1662,7 @@ MODULE_DEVICE_TABLE(spi, at86rf230_device_id);
>   static struct spi_driver at86rf230_driver = {
>   	.id_table = at86rf230_device_id,
>   	.driver = {
> -		.of_match_table = of_match_ptr(at86rf230_of_match),
> +		.of_match_table = at86rf230_of_match,
>   		.name	= "at86rf230",
>   	},
>   	.probe      = at86rf230_probe,

Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>

regards
Stefan Schmidt

  reply	other threads:[~2023-03-14  7:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-11 17:32 [PATCH 01/12] net: dsa: lantiq_gswip: mark OF related data as maybe unused Krzysztof Kozlowski
2023-03-11 17:32 ` [PATCH 02/12] net: dsa: lan9303: drop of_match_ptr for ID table Krzysztof Kozlowski
2023-03-11 17:32 ` [PATCH 03/12] net: dsa: seville_vsc9953: " Krzysztof Kozlowski
2023-03-11 17:32 ` [PATCH 04/12] net: dsa: ksz9477: " Krzysztof Kozlowski
2023-03-11 17:32 ` [PATCH 05/12] net: dsa: ocelot: " Krzysztof Kozlowski
2023-03-14 15:34   ` Colin Foster
2023-03-11 17:32 ` [PATCH 06/12] net: phy: ks8995: " Krzysztof Kozlowski
2023-03-11 17:32 ` [PATCH 07/12] net: ieee802154: adf7242: " Krzysztof Kozlowski
2023-03-12 11:31   ` Hennerich, Michael
2023-03-28 10:48   ` Miquel Raynal
2023-03-28 16:13     ` Stefan Schmidt
2023-03-11 17:32 ` [PATCH 08/12] net: ieee802154: mcr20a: " Krzysztof Kozlowski
2023-03-14  7:52   ` Stefan Schmidt
2023-03-11 17:33 ` [PATCH 09/12] net: ieee802154: at86rf230: " Krzysztof Kozlowski
2023-03-14  7:52   ` Stefan Schmidt [this message]
2023-03-11 17:33 ` [PATCH 10/12] net: ieee802154: ca8210: " Krzysztof Kozlowski
2023-03-14  7:53   ` Stefan Schmidt
2023-03-11 17:33 ` [PATCH 11/12] net: ieee802154: adf7242: drop owner from driver Krzysztof Kozlowski
2023-03-12 11:30   ` Hennerich, Michael
2023-03-28 10:49   ` Miquel Raynal
2023-03-11 17:33 ` [PATCH 12/12] net: ieee802154: ca8210: " Krzysztof Kozlowski
2023-03-14  7:53   ` Stefan Schmidt
2023-03-11 18:14 ` [PATCH 01/12] net: dsa: lantiq_gswip: mark OF related data as maybe unused Vladimir Oltean
2023-03-12 10:20   ` Krzysztof Kozlowski
2023-03-12 10:57     ` Vladimir Oltean
2023-03-15  5:22       ` Jakub Kicinski
2023-03-16  8:21         ` Krzysztof Kozlowski
2023-03-15  8:20 ` patchwork-bot+netdevbpf
2023-03-15 19:51   ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9378bf46-566e-2b83-3cb3-dfd662ec88da@datenfreihafen.org \
    --to=stefan@datenfreihafen.org \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=alex.aring@gmail.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=claudiu.manoil@nxp.com \
    --cc=colin.foster@in-advantage.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=hauke@hauke-m.de \
    --cc=hkallweit1@gmail.com \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wpan@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=michael.hennerich@analog.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=woojung.huh@microchip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.