Эх сурвалжийг харах

parisc/stifb: Use fb_memset() to avoid sparse warning

Signed-off-by: Helge Deller <deller@gmx.de>
Helge Deller 7 жил өмнө
parent
commit
8ce7ad780d

+ 1 - 1
drivers/video/fbdev/stifb.c

@@ -527,7 +527,7 @@ rattlerSetupPlanes(struct stifb_info *fb)
 	fb->id = saved_id;
 
 	for (y = 0; y < fb->info.var.yres; ++y)
-		memset(fb->info.screen_base + y * fb->info.fix.line_length,
+		fb_memset(fb->info.screen_base + y * fb->info.fix.line_length,
 			0xff, fb->info.var.xres * fb->info.var.bits_per_pixel/8);
 
 	CRX24_SET_OVLY_MASK(fb);