summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-03-04 20:56:22 +0100
committerHelge Deller <deller@gmx.de>2018-03-27 18:52:21 +0200
commit8ce7ad780d80d7df119a1985606a7ae9fe6b00ff (patch)
tree8a6018356fee653e4b436ce060f5f6039b4ccca7 /drivers/video
parent661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff)
downloadlinux-8ce7ad780d80d7df119a1985606a7ae9fe6b00ff.tar.bz2
parisc/stifb: Use fb_memset() to avoid sparse warning
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/stifb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c
index 6ded5c198998..3c2e4cabc08f 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);