Re: [PATCH] drm/fb_helper: Use min_t() to handle size_t and unsigned long

2020-11-10 Thread Thomas Zimmermann
Hi Am 10.11.20 um 10:01 schrieb Geert Uytterhoeven: > On arm32: > > drivers/gpu/drm/drm_fb_helper.c: In function ‘fb_read_screen_base’: > include/linux/minmax.h:18:28: warning: comparison of distinct pointer > types lacks a cast > ... > drivers/gpu/drm/drm_fb_helper.c:2041:22:

[PATCH] drm/fb_helper: Use min_t() to handle size_t and unsigned long

2020-11-10 Thread Geert Uytterhoeven
On arm32: drivers/gpu/drm/drm_fb_helper.c: In function ‘fb_read_screen_base’: include/linux/minmax.h:18:28: warning: comparison of distinct pointer types lacks a cast ... drivers/gpu/drm/drm_fb_helper.c:2041:22: note: in expansion of macro ‘min’ 2041 | size_t alloc_size =