Files
linux/arch/m68k/include/asm
Guenter Roeck b1a89856fb m68k: Double cast io functions to unsigned long
m68k builds fail widely with errors such as

arch/m68k/include/asm/raw_io.h:20:19: error:
	cast to pointer from integer of different size
arch/m68k/include/asm/raw_io.h:30:32: error:
	cast to pointer from integer of different size [-Werror=int-to-p

On m68k, io functions are defined as macros. The problem is seen if the
macro parameter variable size differs from the size of a pointer. Cast
the parameter of all io macros to unsigned long before casting it to
a pointer to fix the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210907060729.2391992-1-linux@roeck-us.net
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2021-09-13 11:19:05 +02:00
..
2011-12-10 19:52:48 +01:00
2018-02-21 15:35:43 -08:00
2021-05-07 00:26:34 -07:00
2014-09-29 09:56:19 +10:00
2021-08-23 08:40:04 +10:00
2021-06-29 10:53:55 -07:00
2018-05-07 07:15:41 +02:00
2018-10-31 08:54:12 -07:00
2020-08-12 10:57:58 -07:00
2019-04-03 10:32:54 +02:00
2020-01-12 16:49:20 +01:00