summaryrefslogtreecommitdiff
path: root/arch/m68k/mvme147
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-09-07 09:07:29 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2021-09-13 12:19:05 +0300
commitb1a89856fbf63fffde6a4771d8f1ac21df549e50 (patch)
tree494305f0a44a8596b6e6997e0c0438c8f187c18d /arch/m68k/mvme147
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff)
downloadlinux-b1a89856fbf63fffde6a4771d8f1ac21df549e50.tar.xz
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>
Diffstat (limited to 'arch/m68k/mvme147')
0 files changed, 0 insertions, 0 deletions