mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-11-04 07:44:51 +10:00
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> |
||
|---|---|---|
| .. | ||
| asm-offsets.c | ||
| cpuinfo.c | ||
| 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 | ||
| ptrace.c | ||
| setup.c | ||
| signal.c | ||
| sys_nios2.c | ||
| syscall_table.c | ||
| time.c | ||
| traps.c | ||
| vmlinux.lds.S | ||