Re: [PATCH 3/7] pci: swap_case: Allow compilation on 32-bit machines

2021-02-07 Thread Heinrich Schuchardt
On 2/7/21 10:27 PM, Simon Glass wrote: At present this driver assumes that ulong is 64-bits long. On 32-bit machines it is not. Use the 64-bit code only on 64-bit machines. The commit title and message leaves it open if this is only to make compilation work or if the code works correctly on 32-

[PATCH 3/7] pci: swap_case: Allow compilation on 32-bit machines

2021-02-07 Thread Simon Glass
At present this driver assumes that ulong is 64-bits long. On 32-bit machines it is not. Use the 64-bit code only on 64-bit machines. Signed-off-by: Simon Glass --- drivers/misc/swap_case.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/misc/swap_case