Re: [PATCH] auxdisplay: ht16k33: don't access uninitialized data

2017-03-29 Thread Robin van der Gracht
On Tue, 28 Mar 2017 12:11:49 +0200 Arnd Bergmann wrote: > gcc-7.0.1 points out that we copy uninitialized data from the stack > into a per-device structure: > > drivers/auxdisplay/ht16k33.c: In function 'ht16k33_keypad_irq_thread': > arch/x86/include/asm/string_32.h:78:16: error: 'new_state' may

Re: [PATCH] auxdisplay: ht16k33: don't access uninitialized data

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 12:11:49PM +0200, Arnd Bergmann wrote: > gcc-7.0.1 points out that we copy uninitialized data from the stack > into a per-device structure: > > drivers/auxdisplay/ht16k33.c: In function 'ht16k33_keypad_irq_thread': > arch/x86/include/asm/string_32.h:78:16: error: 'new_state

[PATCH] auxdisplay: ht16k33: don't access uninitialized data

2017-03-28 Thread Arnd Bergmann
gcc-7.0.1 points out that we copy uninitialized data from the stack into a per-device structure: drivers/auxdisplay/ht16k33.c: In function 'ht16k33_keypad_irq_thread': arch/x86/include/asm/string_32.h:78:16: error: 'new_state' may be used uninitialized in this function [-Werror=maybe-uninitialize