linux-stable/drivers/staging
Peter Suti 5185c319e8 staging: fbtft: core: set smem_len before fb_deferred_io_init call
[ Upstream commit 81e878887f ]

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: 856082f021 ("fbdev: defio: fix the pagelist corruption")
Signed-off-by: Peter Suti <peter.suti@streamunlimited.com>
Link: https://lore.kernel.org/r/20220727073550.1491126-1-peter.suti@streamunlimited.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:41:53 +02:00
..
axis-fifo
board
clocking-wizard
emxx_udc
fbtft staging: fbtft: core: set smem_len before fb_deferred_io_init call 2022-08-17 14:41:53 +02:00
fieldbus staging: fieldbus: Fix the error handling path in anybuss_host_common_probe() 2022-06-14 18:44:46 +02:00
fwserial
gdm724x Staging driver update for 5.18-rc1 2022-03-28 12:50:50 -07:00
greybus staging: greybus: codecs: fix type confusion of list iterator variable 2022-06-14 18:44:44 +02:00
iio iio:adc:ad7280a: Move out of staging 2022-02-21 19:33:05 +00:00
ks7010 staging/ks7010: Remove redundant 'flush_workqueue()' calls 2022-02-15 17:05:43 +01:00
media hantro: Remove incorrect HEVC SPS validation 2022-08-17 14:41:12 +02:00
most Staging driver update for 5.18-rc1 2022-03-28 12:50:50 -07:00
nvec Staging: nvec: Fix ending in '(' error 2022-02-08 10:46:01 +01:00
octeon
octeon-usb
olpc_dcon
pi433 Staging driver update for 5.18-rc1 2022-03-28 12:50:50 -07:00
qlge staging: qlge: add unregister_netdev in qlge_probe 2022-02-21 18:07:23 +01:00
r8188eu staging: r8188eu: Fix warning of array overflow in ioctl_linux.c 2022-06-22 14:27:57 +02:00
rtl8192e drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop() 2022-06-14 18:45:09 +02:00
rtl8192u staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback 2022-08-17 14:41:45 +02:00
rtl8712 staging: rtl8712: fix uninit-value in r871xu_drv_init() 2022-06-14 18:45:11 +02:00
rtl8723bs drivers: staging: rtl8192bs: Fix deadlock in rtw_joinbss_event_prehandle() 2022-06-14 18:45:09 +02:00
rts5208 staging: rts5208: Resolve checkpatch.pl issues. 2022-03-18 13:44:02 +01:00
sm750fb staging: sm750fb: fix naming style 2022-03-18 13:43:41 +01:00
unisys Staging: unisys: visorhba: alignment should match open parenthesis 2022-02-08 10:34:53 +01:00
vc04_services Staging driver update for 5.18-rc1 2022-03-28 12:50:50 -07:00
vme
vt6655 staging: vt6655: Remove unused byRFType in card.c 2022-03-14 18:32:39 +01:00
vt6656 staging: vt6656: Removed unused variable vt3342_vnt_threshold 2022-03-15 15:17:09 +01:00
wfx Staging driver update for 5.18-rc1 2022-03-28 12:50:50 -07:00
wlan-ng staging: Use netif_rx(). 2022-03-07 11:40:40 +00:00
Kconfig mips: dts: ralink: add MT7621 SoC 2022-03-16 15:10:23 +01:00
Makefile mips: dts: ralink: add MT7621 SoC 2022-03-16 15:10:23 +01:00