From: Sam Ravnborg <sam@ravnborg.org>
To: Andreas Larsson <andreas@gaisler.com>
Cc: "Maciej W. Rozycki" <macro@orcam.me.uk>,
sparclinux@vger.kernel.org, Randy Dunlap <rdunlap@infradead.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
linux-parport@lists.infradead.org,
"David S. Miller" <davem@davemloft.net>,
Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org,
Arvind Yadav <arvind.yadav.cs@gmail.com>
Subject: Re: [PATCH v2 7/7] sparc32: Fix section mismatch in leon_pci_grpci
Date: Fri, 8 Mar 2024 23:08:12 +0100 [thread overview]
Message-ID: <20240308220812.GA4091237@ravnborg.org> (raw)
In-Reply-To: <c5654b69-209e-4406-ac70-9a4547adfc36@gaisler.com>
Hi Andreas,
On Thu, Mar 07, 2024 at 07:20:11PM +0100, Andreas Larsson wrote:
> On 2024-03-05 16:06, Andreas Larsson wrote:
> > On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote:
> >> From: Sam Ravnborg <sam@ravnborg.org>
> >>
> >> Passing a datastructre marked _initconst to platform_driver_register()
> >> is wrong. Drop the __initconst notation.
> >>
> >> This fixes the following warnings:
> >>
> >> WARNING: modpost: vmlinux: section mismatch in reference: grpci1_of_driver+0x30 (section: .data) -> grpci1_of_match (section: .init.rodata)
> >> WARNING: modpost: vmlinux: section mismatch in reference: grpci2_of_driver+0x30 (section: .data) -> grpci2_of_match (section: .init.rodata)
> >>
> >> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> >> Cc: "David S. Miller" <davem@davemloft.net>
> >> Cc: Andreas Larsson <andreas@gaisler.com>
> >
> > Could you also add
> >
> > Fixes: 4154bb821f0b ("sparc: leon: grpci1: constify of_device_id")
> > Fixes: 03949b1cb9f1 ("sparc: leon: grpci2: constify of_device_id")
> >
> > for these fixes in your v3 of the series as well as CCing stable?
>
> I'll pick up the whole series apart for the ZONE_DMA removal, so there
> is no other need for a v3. I can add the Fixes lines to this one, if it
> is ok with you Sam, or take it as is.
I did not verify the two fixes lines - but seems legit.
So would be super if you add them before applying.
Thanks for picking up the other patches, we are now much closer to
an all{yes,mod}config that can build (but not link).
Sam
next prev parent reply other threads:[~2024-03-08 22:09 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-24 17:42 [PATCH v2 0/7] sparc32: build fixes for all{yes,mod}config builds Sam Ravnborg via B4 Relay
2024-02-24 17:42 ` [PATCH v2 1/7] sparc32: Use generic cmpdi2/ucmpdi2 variants Sam Ravnborg via B4 Relay
2024-03-08 20:00 ` Andreas Larsson
2024-02-24 17:42 ` [PATCH v2 2/7] sparc32: Fix build with trapbase Sam Ravnborg via B4 Relay
2024-03-08 20:01 ` Andreas Larsson
2024-02-24 17:42 ` [PATCH v2 3/7] mtd: maps: sun_uflash: Declare uflash_devinit static Sam Ravnborg via B4 Relay
2024-02-26 10:23 ` Miquel Raynal
2024-03-08 20:02 ` Andreas Larsson
2024-02-24 17:42 ` [PATCH v2 4/7] sparc32: Do not select ZONE_DMA Sam Ravnborg via B4 Relay
2024-02-25 0:57 ` Maciej W. Rozycki
2024-02-25 7:08 ` Sam Ravnborg
2024-03-02 23:51 ` Randy Dunlap
2024-03-05 15:06 ` Andreas Larsson
2024-03-05 15:26 ` Arnd Bergmann
2024-03-06 14:19 ` Andreas Larsson
2024-03-06 14:45 ` Arnd Bergmann
2024-03-06 15:31 ` Andreas Larsson
2024-03-06 16:22 ` Arnd Bergmann
2024-03-06 18:19 ` Arnd Bergmann
2024-03-07 12:42 ` Andreas Larsson
2024-03-07 13:06 ` Arnd Bergmann
2024-03-06 15:04 ` Christoph Hellwig
2024-03-06 15:24 ` Arnd Bergmann
2024-02-24 17:42 ` [PATCH v2 5/7] sparc32: Do not select GENERIC_ISA_DMA Sam Ravnborg via B4 Relay
2024-03-08 20:03 ` Andreas Larsson
2024-03-09 9:04 ` Maciej W. Rozycki
2024-02-24 17:42 ` [PATCH v2 6/7] sparc32: Fix parport build with sparc32 Sam Ravnborg via B4 Relay
2024-03-02 23:52 ` Randy Dunlap
2024-03-08 20:04 ` Andreas Larsson
2024-03-09 9:06 ` Maciej W. Rozycki
2024-02-24 17:42 ` [PATCH v2 7/7] sparc32: Fix section mismatch in leon_pci_grpci Sam Ravnborg via B4 Relay
2024-03-02 23:54 ` Randy Dunlap
2024-03-05 15:06 ` Andreas Larsson
2024-03-07 18:20 ` Andreas Larsson
2024-03-07 20:16 ` Maciej W. Rozycki
2024-03-08 7:06 ` Andreas Larsson
2024-03-08 12:09 ` Maciej W. Rozycki
2024-03-08 22:08 ` Sam Ravnborg [this message]
2024-03-08 20:07 ` Andreas Larsson
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=20240308220812.GA4091237@ravnborg.org \
--to=sam@ravnborg.org \
--cc=andreas@gaisler.com \
--cc=arnd@arndb.de \
--cc=arvind.yadav.cs@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parport@lists.infradead.org \
--cc=macro@orcam.me.uk \
--cc=miquel.raynal@bootlin.com \
--cc=rdunlap@infradead.org \
--cc=sparclinux@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox