2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 16:53:54 +08:00
linux-next/arch/nios2
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
..
boot nios2: dts: 10m50: Add tx-threshold parameter 2016-09-27 12:55:50 +02:00
configs nios2: add Max10 defconfig 2015-09-08 18:16:02 +08:00
include nios2: use of_property_read_bool 2016-10-06 18:19:16 +08:00
kernel nios2: fix timer initcall return value 2016-11-11 08:45:08 -08:00
lib nios2: memset: use the right constraint modifier for the %4 output operand 2016-04-27 16:35:55 +08:00
mm dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
platform nios2: Remove unnecessary of_platform_populate with default match table 2016-06-23 15:00:31 -05:00
Kconfig lib/GCD.c: use binary GCD algorithm instead of Euclidean 2016-05-20 17:58:30 -07:00
Kconfig.debug nios2: add early printk support 2015-02-10 23:21:08 +08:00
Makefile nios2: Add order-only DTC dependency to %.dtb target 2016-05-19 09:15:00 +08:00