* [PATCH] agp: parisc-agp: fix section mismatch warning
@ 2021-11-27 4:57 Randy Dunlap
2021-11-27 10:56 ` Rolf Eike Beer
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-11-27 4:57 UTC (permalink / raw)
To: dri-devel
Cc: Randy Dunlap, kernel test robot, Kyle McMartin, David Airlie,
James E.J. Bottomley, Helge Deller, linux-parisc
Fix section mismatch warning in parisc-agp:
WARNING: modpost: drivers/char/agp/parisc-agp.o(.text+0x7a0): Section mismatch in reference from the function init_module() to the function .init.text:parisc_agp_setup.isra.0()
The function init_module() references
the function __init parisc_agp_setup.isra.0().
This is often because init_module lacks a __init
annotation or the annotation of parisc_agp_setup.isra.0 is wrong.
Fixes: 08a6436816f7 ("[PARISC] Add support for Quicksilver AGPGART")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: David Airlie <airlied@linux.ie>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
---
drivers/char/agp/parisc-agp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20211126.orig/drivers/char/agp/parisc-agp.c
+++ linux-next-20211126/drivers/char/agp/parisc-agp.c
@@ -378,7 +378,7 @@ find_quicksilver(struct device *dev, voi
return 0;
}
-static int
+static int __init
parisc_agp_init(void)
{
extern struct sba_device *sba_list;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] agp: parisc-agp: fix section mismatch warning
2021-11-27 4:57 [PATCH] agp: parisc-agp: fix section mismatch warning Randy Dunlap
@ 2021-11-27 10:56 ` Rolf Eike Beer
2021-11-27 11:14 ` Helge Deller
0 siblings, 1 reply; 3+ messages in thread
From: Rolf Eike Beer @ 2021-11-27 10:56 UTC (permalink / raw)
To: dri-devel, Randy Dunlap
Cc: Randy Dunlap, kernel test robot, Kyle McMartin, David Airlie,
James E.J. Bottomley, Helge Deller, linux-parisc
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
Am Samstag, 27. November 2021, 05:57:57 CET schrieb Randy Dunlap:
> Fix section mismatch warning in parisc-agp:
Too late ;)
https://lore.kernel.org/linux-parisc/20211126154754.263487-1-deller@gmx.de/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] agp: parisc-agp: fix section mismatch warning
2021-11-27 10:56 ` Rolf Eike Beer
@ 2021-11-27 11:14 ` Helge Deller
0 siblings, 0 replies; 3+ messages in thread
From: Helge Deller @ 2021-11-27 11:14 UTC (permalink / raw)
To: Rolf Eike Beer, dri-devel, Randy Dunlap
Cc: kernel test robot, Kyle McMartin, David Airlie,
James E.J. Bottomley, linux-parisc
On 11/27/21 11:56, Rolf Eike Beer wrote:
> Am Samstag, 27. November 2021, 05:57:57 CET schrieb Randy Dunlap:
>> Fix section mismatch warning in parisc-agp:
Thanks Randy!
> Too late ;)
>
> https://lore.kernel.org/linux-parisc/20211126154754.263487-1-deller@gmx.de/
Being late doesn't matter!
I'm really happy about all patches which are sent in for parisc and in the past
often I applied the late-sent-in patches instead of mine, simply because the
commit message was much better than mine.
So, patches are always welcome.
Helge
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-27 11:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-27 4:57 [PATCH] agp: parisc-agp: fix section mismatch warning Randy Dunlap
2021-11-27 10:56 ` Rolf Eike Beer
2021-11-27 11:14 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox