Re: [PATCH] fbdev: hyperv_fb: fix uninitialized local variable use

2023-11-08 Thread Helge Deller
On 11/8/23 15:58, Arnd Bergmann wrote: From: Arnd Bergmann When CONFIG_SYSFB is disabled, the hyperv_fb driver can now run into undefined behavior on a gen2 VM, as indicated by this smatch warning: drivers/video/fbdev/hyperv_fb.c:1077 hvfb_getmem() error: uninitialized symbol 'base'. drivers/

[PATCH] fbdev: hyperv_fb: fix uninitialized local variable use

2023-11-08 Thread Arnd Bergmann
From: Arnd Bergmann When CONFIG_SYSFB is disabled, the hyperv_fb driver can now run into undefined behavior on a gen2 VM, as indicated by this smatch warning: drivers/video/fbdev/hyperv_fb.c:1077 hvfb_getmem() error: uninitialized symbol 'base'. drivers/video/fbdev/hyperv_fb.c:1077 hvfb_getmem(