diff options
| author | Peter Suti <[email protected]> | 2022-07-27 09:35:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-07-28 10:42:42 +0200 |
| commit | 81e878887ff82a7dd42f22951391069a5d520627 (patch) | |
| tree | a0aededad7853a827fd45b225a03dd26bb67f2b1 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | 2b5002e2cc1483b6333d31e21902b78a1997909e (diff) | |
staging: fbtft: core: set smem_len before fb_deferred_io_init call
The fbtft_framebuffer_alloc() calls fb_deferred_io_init() before
initializing info->fix.smem_len. It is set to zero by the
framebuffer_alloc() function. It will trigger a WARN_ON() at the
start of fb_deferred_io_init() and the function will not do anything.
Fixes: 856082f021a2 ("fbdev: defio: fix the pagelist corruption")
Signed-off-by: Peter Suti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions