0x24/0x3c
[] remove_store+0x74/0x80
[] dev_attr_store+0x44/0x5c
[] sysfs_kf_write+0x5c/0x74
[] kernfs_fop_write+0xcc/0x1dc
[] __vfs_write+0x48/0x13c
[] vfs_write+0xa8/0x198
[] SyS_write+0x54/0xb0
[] el0_svc_naked+0x24/0x28
Signed-off-by: Xiongfeng Wang
---
drivers/pci/hotplug/pciehp_ctrl.c | 2 +-
1
On 2017/12/7 17:03, Arnd Bergmann wrote:
> 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 u
:207: warning: ‘err’ may be used
uninitialized in this function
When ctx->cfg->num_chars is zero, there will be a false error info
printed. Fix this by recontruct the code and initializing the variable
'err' to zero.
Signed-off-by: Xiongfeng Wang
---
drivers/auxdisplay/img-