Files
linux/arch/m68k/include/asm
Guenter Roeck a79dbb507d m68k: Double cast io functions to unsigned long
[ Upstream commit b1a89856fb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 11:53:20 +09:00
..
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2014-04-18 14:20:37 +02:00
2011-12-10 19:52:48 +01:00
2011-03-31 11:26:23 -03:00
2023-05-15 13:57:01 +09:00
2015-05-13 10:55:42 +02:00
2009-01-16 21:58:10 +10:00
2016-10-30 10:13:55 +01:00
2013-08-14 11:46:30 +02:00
2016-07-03 14:05:28 +02:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2013-02-26 02:46:08 -05:00
2016-08-07 23:47:19 -04:00
2013-09-26 09:54:16 +02:00
2013-11-13 20:21:46 +01:00
2016-05-28 15:48:57 -04:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2013-12-08 11:01:47 +01:00
2015-09-28 09:59:45 +02:00
2014-09-29 09:56:19 +10:00
2016-07-03 14:05:28 +02:00
2009-01-16 21:58:10 +10:00
2016-02-29 09:51:44 +01:00
2011-12-10 19:52:47 +01:00
2015-11-23 09:58:30 +01:00
2009-01-16 21:58:10 +10:00
2011-12-10 19:52:47 +01:00
2016-02-29 09:51:44 +01:00
2015-03-15 10:23:30 +01:00
2016-02-29 09:51:44 +01:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2011-03-16 19:10:41 +01:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2016-07-03 14:05:28 +02:00
2015-01-13 15:24:03 +02:00
2014-06-06 16:08:11 -07:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2012-03-28 18:30:02 +01:00
2009-01-16 21:58:10 +10:00
2015-01-13 15:23:28 +02:00
2016-09-27 21:15:14 -04:00
2016-04-07 11:44:44 +02:00
2009-01-16 21:58:10 +10:00
2012-04-22 20:16:50 +02:00
2009-01-16 21:58:10 +10:00