linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mwifiex: pcie: Drop bogus __refdata annotation
@ 2020-12-11 13:38 Geert Uytterhoeven
  2021-01-14 17:28 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-12-11 13:38 UTC (permalink / raw)
  To: Amitkumar Karwar, Ganapathi Bhat, Xinming Hu, Kalle Valo,
	David S . Miller, Jakub Kicinski
  Cc: linux-wireless, netdev, linux-kernel, Geert Uytterhoeven

As the Marvell PCIE WiFi-Ex driver does not have any code or data
located in initmem, there is no need to annotate the mwifiex_pcie
structure with __refdata.  Drop the annotation, to avoid suppressing
future section warnings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/net/wireless/marvell/mwifiex/pcie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c
index 5f0a61b974ee521a..94228b316df1b210 100644
--- a/drivers/net/wireless/marvell/mwifiex/pcie.c
+++ b/drivers/net/wireless/marvell/mwifiex/pcie.c
@@ -571,7 +571,7 @@ static SIMPLE_DEV_PM_OPS(mwifiex_pcie_pm_ops, mwifiex_pcie_suspend,
 #endif
 
 /* PCI Device Driver */
-static struct pci_driver __refdata mwifiex_pcie = {
+static struct pci_driver mwifiex_pcie = {
 	.name     = "mwifiex_pcie",
 	.id_table = mwifiex_ids,
 	.probe    = mwifiex_pcie_probe,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mwifiex: pcie: Drop bogus __refdata annotation
  2020-12-11 13:38 [PATCH] mwifiex: pcie: Drop bogus __refdata annotation Geert Uytterhoeven
@ 2021-01-14 17:28 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2021-01-14 17:28 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Amitkumar Karwar, Ganapathi Bhat, Xinming Hu, David S . Miller,
	Jakub Kicinski, linux-wireless, netdev, linux-kernel,
	Geert Uytterhoeven

Geert Uytterhoeven <geert+renesas@glider.be> wrote:

> As the Marvell PCIE WiFi-Ex driver does not have any code or data
> located in initmem, there is no need to annotate the mwifiex_pcie
> structure with __refdata.  Drop the annotation, to avoid suppressing
> future section warnings.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Patch applied to wireless-drivers-next.git, thanks.

596c84c49f8a mwifiex: pcie: Drop bogus __refdata annotation

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20201211133835.2970384-1-geert+renesas@glider.be/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-14 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 13:38 [PATCH] mwifiex: pcie: Drop bogus __refdata annotation Geert Uytterhoeven
2021-01-14 17:28 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).