Re: [PATCH v5] staging: gpib: Fix i386 build issue

From: Guenter Roeck
Date: Fri Dec 06 2024 - 14:17:20 EST


Hi David,

On 12/6/24 10:02, David Laight wrote:
From: Dave Penkler
Sent: 04 December 2024 16:21

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

You missed the obvious typo :-)


FWIW, I fail to see that typo as well, so I am not sure if it is really
that obvious.

There is also a proposal to just remove PAE support.
Mostly because it is likely to have bit-rotted and isn't really
needed now 64bit code is common.


Presumably that removal would not be 6.13 material, though, and I hope
that there _some_ fix will make it into 6.13.

Thanks,
Guenter