Re: [PATCH] auxdisplay: img-ascii-lcd: fix maybe-uninitialized warning

2017-12-07 Thread Arnd Bergmann
On Thu, Dec 7, 2017 at 9:16 AM, Xiongfeng Wang wrote: > gcc prints the following warning: > drivers/auxdisplay/img-ascii-lcd.c: In function ‘malta_update’: > drivers/auxdisplay/img-ascii-lcd.c:109: warning: ‘err’ may be usedun > initialized in this function > drivers/auxdisplay/img-ascii-lcd.c: I

[PATCH] auxdisplay: img-ascii-lcd: fix maybe-uninitialized warning

2017-12-07 Thread Xiongfeng Wang
gcc prints the following warning: drivers/auxdisplay/img-ascii-lcd.c: In function ‘malta_update’: drivers/auxdisplay/img-ascii-lcd.c:109: warning: ‘err’ may be usedun initialized in this function drivers/auxdisplay/img-ascii-lcd.c: In function ‘sead3_update’: drivers/auxdisplay/img-ascii-lcd.c:207