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
parentLinux 4.16-rc4 (diff)
downloadlinux-8ce7ad780d80d7df119a1985606a7ae9fe6b00ff.tar.xz
linux-8ce7ad780d80d7df119a1985606a7ae9fe6b00ff.zip
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);