Re: [PATCH 02/32] fbdev/sm712fb: Use correct initializer macros for struct fb_ops

2023-11-16 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Only initialize mmap and draw helpers with macros; leave read/write > callbacks to driver implementations. Fixes the following warnings: > > CC [M] drivers/video/fbdev/sm712fb.o > sm712fb.c:1355:25: warning: initialized field overwritten [-Woverride-init] > 1355

[PATCH 02/32] fbdev/sm712fb: Use correct initializer macros for struct fb_ops

2023-11-15 Thread Thomas Zimmermann
Only initialize mmap and draw helpers with macros; leave read/write callbacks to driver implementations. Fixes the following warnings: CC [M] drivers/video/fbdev/sm712fb.o sm712fb.c:1355:25: warning: initialized field overwritten [-Woverride-init] 1355 | .fb_fillrect = cfb_fillrect