linux-stable/arch/nios2/kernel
Arnd Bergmann 069013a9e2 nios2: fix timer initcall return value
When called more than twice, the nios2_time_init() function return an
uninitialized value, as detected by gcc -Wmaybe-uninitialized

  arch/nios2/kernel/time.c: warning: 'ret' may be used uninitialized in this function

This makes it return '0' here, matching the comment above the function.

Acked-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-11-11 08:45:08 -08:00
..
asm-offsets.c
cpuinfo.c nios2: use of_property_read_bool 2016-10-06 18:19:16 +08:00
early_printk.c
entry.S
head.S
insnemu.S
irq.c
kgdb.c
Makefile
misaligned.c
module.c
nios2_ksyms.c
process.c
prom.c nios2: Replace fdt_translate_address with of_flat_dt_translate_address 2016-03-31 08:15:45 +08:00
ptrace.c
setup.c
signal.c
sys_nios2.c
syscall_table.c
time.c nios2: fix timer initcall return value 2016-11-11 08:45:08 -08:00
traps.c
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00