From: Dave Penkler <dpenkler@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>
Subject: Re: [PATCH v5] staging: gpib: Fix i386 build issue
Date: Mon, 9 Dec 2024 17:12:31 +0100 [thread overview]
Message-ID: <Z1cW78qDiLb6NxjC@egonzo> (raw)
In-Reply-To: <CAMuHMdVUnr4iAZmuy8Z3S+sCYN4P26RdpPwXevwiJrh+KN025Q@mail.gmail.com>
On Mon, Dec 09, 2024 at 05:01:19PM +0100, Geert Uytterhoeven wrote:
Hi Geert,
> Hi Dave,
>
> On Wed, Dec 4, 2024 at 5:21???PM Dave Penkler <dpenkler@gmail.com> wrote:
> > These drivers cast resource_type_t to void * causing the build to fail.
> >
> > With CONFIG_X86_PAE enabled the resource_size_t type is a 64bit unsigned
> > int which cannot be cast to a 32 bit pointer.
> >
> > Disable these drivers if X68_PAE is enabled
> >
> > Reported-by: Guenter Roeck <linux@roeck-us.net>
> > Closes: https://lore.kernel.org/all/f10e976e-7a04-4454-b38d-39cd18f142da@roeck-us.net/
> > Fixes: e9dc69956d4d ("staging: gpib: Add Computer Boards GPIB driver")
> > Fixes: e1339245eba3 ("staging: gpib: Add Computer Equipment Corporation GPIB driver")
> > Fixes: bb1bd92fa0f2 ("staging: gpib: Add ines GPIB driver")
> > Fixes: 0cd5b05551e0 ("staging: gpib: Add TNT4882 chip based GPIB driver")
> > Signed-off-by: Dave Penkler <dpenkler@gmail.com>
>
> Thanks for your patch!
>
> > --- a/drivers/staging/gpib/Kconfig
> > +++ b/drivers/staging/gpib/Kconfig
> > @@ -50,6 +50,7 @@ config GPIB_CEC_PCI
> > tristate "CEC PCI board"
> > depends on PCI
> > depends on HAS_IOPORT
> > + depends on !X86_PAE
>
> !CONFIG_PHYS_ADDR_T_64BIT, to match the definition of phys_addr_t?
>
> Or is this only showing up on x86?
>
I think so. See this message from Guenter
https://lore.kernel.org/all/7d7e65af-b818-45de-a92c-ee59a864dbdb@roeck-us.net/
cheers,
-Dave
next prev parent reply other threads:[~2024-12-09 16:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 16:21 [PATCH v5] staging: gpib: Fix i386 build issue Dave Penkler
2024-12-06 18:02 ` David Laight
2024-12-06 19:17 ` Guenter Roeck
2024-12-09 16:01 ` Geert Uytterhoeven
2024-12-09 16:12 ` Dave Penkler [this message]
2024-12-09 16:18 ` Guenter Roeck
2024-12-09 16:27 ` Geert Uytterhoeven
2024-12-09 16:35 ` Guenter Roeck
2024-12-10 7:52 ` Geert Uytterhoeven
2024-12-10 8:39 ` Greg KH
2024-12-10 9:02 ` Geert Uytterhoeven
2024-12-11 0:56 ` Guenter Roeck
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=Z1cW78qDiLb6NxjC@egonzo \
--to=dpenkler@gmail.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linux@roeck-us.net \
/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