From: Helge Deller <deller@gmx.de>
Date: Sun, 4 Mar 2018 19:56:22 +0000 (+0100)
Subject: parisc/stifb: Use fb_memset() to avoid sparse warning
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8ce7ad780d80d7df119a1985606a7ae9fe6b00ff;p=linux.git

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

Signed-off-by: Helge Deller <deller@gmx.de>
---

diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c1989985..3c2e4cabc08f8 100644
--- a/drivers/video/fbdev/stifb.c
+++ b/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);