Hello Linus, please pull the latest fbdev updates and fixes for kernel 5.18-rc1. This patchset has been in linux-next without any reported problems and includes a lot of small fixes and code cleanups across many traditional fbdev drivers. Thanks! Helge ---------------------------------------------------------------- The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07: Linux 5.17-rc1 (2022-01-23 10:12:53 +0200) are available in the Git repository at: http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/for-5.18/fbdev-1 for you to fetch changes up to e445c8b2aa2df0e49f6037886c32d54a5e3960b1: video: fbdev: kyro: make read-only array ODValues static const (2022-03-11 08:27:37 +0100) ---------------------------------------------------------------- fbdev fixes and updates for kernel v5.18-rc1 Lots of small fixes and code cleanups across most of the fbdev drivers. This includes conversions to use helper functions, const conversions, spelling fixes, help text updates, adding return value checks, small build fixes, and much more. ---------------------------------------------------------------- Arnd Bergmann (1): agp: define proper stubs for empty helpers Cai Huoqing (11): video: fbdev: au1200fb: Make use of dma_mmap_coherent() video: fbdev: omapfb: panel-lgphilips-lb035q02: Make use of the helper function dev_err_probe() video: fbdev: omapfb: lcd_ams_delta: Make use of the helper function dev_err_probe() video: fbdev: omapfb: panel-sharp-ls037v7dw01: Make use of the helper function dev_err_probe() video: fbdev: omapfb: panel-tpo-td043mtea1: Make use of the helper function dev_err_probe() video: fbdev: da8xx-fb: Make use of the helper function dev_err_probe() video: fbdev: pxa168fb: Make use of the helper function dev_err_probe() video: fbdev: pxa3xx-gcu: Make use of the helper function dev_err_probe() video: fbdev: ssd1307fb: Make use of the helper function dev_err_probe() video: fbdev: s3c-fb: Make use of the helper function dev_err_probe() video: fbdev: mmp: Make use of the helper function dev_err_probe() Changcheng Deng (1): video: fbmem: use swap() to make code cleaner in fb_rotate_logo() Chunyang Zhong (1): video: fbdev: ocfb: add const to of_device_id Colin Ian King (7): video: fbdev: aty128fb: make some arrays static const video: fbdev: mb862xx: remove redundant assignment to pointer ptr video: fbdev: via: Fix spelling mistake "bellow" -> "below" video: fbdev: atyfb: Remove assigned but never used variable statements video: fbdev: asiliantfb: remove redundant assignment to variable Ftarget video: fbdev: pxa168fb: Initialize pointers with NULL and not plain integer 0 video: fbdev: kyro: make read-only array ODValues static const Dan Carpenter (3): video: fbdev: savagefb: make a variable local video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe() video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name() Evgeny Novikov (1): video: fbdev: w100fb: Reset global state Geert Uytterhoeven (4): video: fbdev: atari: Fix TT High video mode video: fbdev: atari: Convert to standard round_up() helper video: fbdev: atari: Remove unused atafb_setcolreg() video: fbdev: au1100fb: Spelling s/palette/palette/ George Kennedy (1): video: fbdev: cirrusfb: check pixclock to avoid divide by zero Greg Kroah-Hartman (1): video: fbdev: omapfb: use default_groups in kobj_type Guo Zhengkui (1): video: fbdev: omapfb: Use sysfs_emit() instead of snprintf() Haowen Bai (1): video: fbdev: offb: fix warning comparing pointer to 0 Helge Deller (1): video: fbdev: sm712fb: Fix crash in smtcfb_read() Jiasheng Jiang (1): video: fbdev: imxfb: Check for null res pointer Jing Yao (3): video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf() video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf() video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit Krzysztof Kozlowski (1): video: fbdev: s3c-fb: drop unneeded MODULE_ALIAS Luca Weiss (2): backlight: qcom-wled: Add PM6150L compatible dt-bindings: simple-framebuffer: allow standalone compatible Miaoqian Lin (1): video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of Michael Schmitz (1): video: fbdev: atari: Atari 2 bpp (STe) palette bugfix Minghao Chi (1): video: fbdev: mach64_ct: remove redundant res variable Tim Gardner (1): video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow Wang Hai (1): video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe() Wei Ming Chen (1): video: fbdev: Fix wrong file path for pvr2fb.c in Kconfig help text Xiaoke Wang (1): video: fbdev: via: check the return value of kstrdup() Xu Wang (2): backlight: lm3630a_bl: Remove redundant 'flush_workqueue()' calls video: fbdev: omapfb: Remove redundant 'flush_workqueue()' calls Yang Guang (2): video: fbdev: sis: use swap() to make code cleaner video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit Yang Li (2): video: fbdev: pxa168fb: Remove unnecessary print function dev_err() video: fbdev: pxa3xx-gcu: Remove unnecessary print function dev_err() Yihao Han (1): video: fbdev: s3c-fb: fix platform_get_irq.cocci warning YueHaibing (1): video: fbdev: controlfb: Fix COMPILE_TEST build Z. Liu (1): video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen Zheyu Ma (1): video: fbdev: sm712fb: Fix crash in smtcfb_write() zhaoxiao (1): video: fbdev: s3c-fb: Use platform_get_irq() to get the interrupt .../bindings/display/simple-framebuffer.yaml | 12 +++-- arch/parisc/include/asm/agp.h | 4 +- arch/powerpc/include/asm/agp.h | 4 +- arch/sparc/include/asm/agp.h | 6 +-- drivers/video/backlight/lm3630a_bl.c | 1 - drivers/video/backlight/qcom-wled.c | 1 + drivers/video/fbdev/Kconfig | 2 +- drivers/video/fbdev/asiliantfb.c | 2 +- drivers/video/fbdev/atafb.c | 35 +++++--------- drivers/video/fbdev/atmel_lcdfb.c | 11 +++-- drivers/video/fbdev/aty/aty128fb.c | 10 ++-- drivers/video/fbdev/aty/mach64_ct.c | 4 +- drivers/video/fbdev/aty/mach64_gx.c | 2 - drivers/video/fbdev/au1100fb.c | 2 +- drivers/video/fbdev/au1100fb.h | 2 +- drivers/video/fbdev/au1200fb.c | 4 +- drivers/video/fbdev/cirrusfb.c | 16 +++---- drivers/video/fbdev/controlfb.c | 2 + drivers/video/fbdev/core/fbcvt.c | 53 +++++++++------------- drivers/video/fbdev/core/fbmem.c | 8 +--- drivers/video/fbdev/da8xx-fb.c | 7 ++- drivers/video/fbdev/imxfb.c | 2 + drivers/video/fbdev/kyro/STG4000InitDevice.c | 2 +- drivers/video/fbdev/matrox/matroxfb_base.c | 2 +- drivers/video/fbdev/mb862xx/mb862xxfb_accel.c | 2 +- drivers/video/fbdev/mmp/hw/mmp_ctrl.c | 3 +- drivers/video/fbdev/nvidia/nv_i2c.c | 2 +- drivers/video/fbdev/ocfb.c | 2 +- drivers/video/fbdev/offb.c | 2 +- drivers/video/fbdev/omap/lcd_ams_delta.c | 16 +++---- drivers/video/fbdev/omap/omapfb_main.c | 13 +++--- .../fbdev/omap2/omapfb/displays/connector-dvi.c | 1 + .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 8 ++-- .../omapfb/displays/panel-lgphilips-lb035q02.c | 7 ++- .../omapfb/displays/panel-sharp-ls037v7dw01.c | 7 ++- .../omap2/omapfb/displays/panel-sony-acx565akm.c | 2 +- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 7 ++- .../video/fbdev/omap2/omapfb/dss/display-sysfs.c | 3 +- .../video/fbdev/omap2/omapfb/dss/manager-sysfs.c | 3 +- .../video/fbdev/omap2/omapfb/dss/overlay-sysfs.c | 3 +- drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 1 - drivers/video/fbdev/pxa168fb.c | 15 +++--- drivers/video/fbdev/pxa3xx-gcu.c | 10 ++-- drivers/video/fbdev/s3c-fb.c | 20 ++++---- drivers/video/fbdev/savage/savagefb.h | 1 - drivers/video/fbdev/savage/savagefb_driver.c | 7 +-- drivers/video/fbdev/sis/sis_main.c | 2 +- drivers/video/fbdev/sm712fb.c | 46 +++++-------------- drivers/video/fbdev/smscufx.c | 3 +- drivers/video/fbdev/ssd1307fb.c | 7 ++- drivers/video/fbdev/udlfb.c | 8 ++-- drivers/video/fbdev/via/lcd.c | 2 +- drivers/video/fbdev/via/viafbdev.c | 10 ++++ drivers/video/fbdev/w100fb.c | 15 ++++-- 54 files changed, 189 insertions(+), 233 deletions(-)