linux/arch
Boris Brezillon 37332b5bc4 m68k: Fix ndelay() macro
commit 7e251bb21a upstream.

The current ndelay() macro definition has an extra semi-colon at the
end of the line thus leading to a compilation error when ndelay is used
in a conditional block without curly braces like this one:

	if (cond)
		ndelay(t);
	else
		...

which, after the preprocessor pass gives:

	if (cond)
		m68k_ndelay(t);;
	else
		...

thus leading to the following gcc error:

	error: 'else' without a previous 'if'

Remove this extra semi-colon.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: c8ee038bd1 ("m68k: Implement ndelay() based on the existing udelay() logic")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-23 03:54:25 +00:00
..
alpha alpha: fix copy_from_user() 2016-11-20 01:17:25 +00:00
arc arc: don't leak bits of kernel stack into coredump 2017-02-23 03:54:00 +00:00
arm ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210 2017-02-23 03:54:00 +00:00
arm64 arm64: KVM: Take S1 walks into account when determining S2 write faults 2017-02-23 03:54:19 +00:00
avr32 avr32: fix 'undefined reference to `___copy_from_user' 2016-11-20 01:17:32 +00:00
blackfin blackfin: fix copy_from_user() 2016-11-20 01:17:30 +00:00
c6x C6x: time: Ensure consistency in __init 2015-05-06 11:33:02 +01:00
cris cris: buggered copy_from_user/copy_to_user/clear_user 2016-11-20 01:17:27 +00:00
frv frv: fix clear_user() 2016-11-20 01:17:27 +00:00
hexagon hexagon: fix strncpy_from_user() error return 2016-11-20 01:17:27 +00:00
ia64 ia64: copy_from_user() should zero the destination on access_ok() failure 2016-11-20 01:17:27 +00:00
m32r m32r: fix __get_user() 2016-11-20 01:17:30 +00:00
m68k m68k: Fix ndelay() macro 2017-02-23 03:54:25 +00:00
metag metag: Only define atomic_dec_if_positive conditionally 2017-02-23 03:54:09 +00:00
microblaze microblaze: fix __get_user() 2016-11-20 01:17:30 +00:00
mips KVM: MIPS: Precalculate MMIO load resume PC 2017-02-23 03:54:21 +00:00
mn10300 mn10300: copy_from_user() should zero on access_ok() failure... 2016-11-20 01:17:28 +00:00
openrisc openrisc: fix the fix of copy_from_user() 2016-11-20 01:17:32 +00:00
parisc parisc: fix copy_from_user() 2016-11-20 01:17:28 +00:00
powerpc powerpc: Convert cmp to cmpd in idle enter sequence 2017-02-23 03:54:19 +00:00
s390 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment 2017-02-23 03:54:23 +00:00
score score: fix copy_from_user() and friends 2016-11-20 01:17:29 +00:00
sh sh: fix copy_from_user() 2016-11-20 01:17:29 +00:00
sparc sparc32: fix copy_from_user() 2016-11-20 01:17:30 +00:00
tile tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO 2016-11-20 01:16:58 +00:00
um fs/coredump: prevent fsuid=0 dumps into user-controlled directories 2016-05-01 00:06:04 +02:00
unicore32 nosave: consolidate __nosave_{begin,end} in <asm/sections.h> 2015-05-06 10:24:18 +01:00
x86 KVM: x86: fix wbinvd_dirty_mask use-after-free 2017-02-23 03:54:23 +00:00
xtensa xtensa: clear all DBREAKC registers on start 2016-05-01 00:05:57 +02:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig uprobes: Kconfig dependency fix 2014-03-18 16:39:33 -04:00