Commit 8ce7ad78 authored by Helge Deller's avatar Helge Deller

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

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 661e50bc
...@@ -527,7 +527,7 @@ rattlerSetupPlanes(struct stifb_info *fb) ...@@ -527,7 +527,7 @@ rattlerSetupPlanes(struct stifb_info *fb)
fb->id = saved_id; fb->id = saved_id;
for (y = 0; y < fb->info.var.yres; ++y) 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); 0xff, fb->info.var.xres * fb->info.var.bits_per_pixel/8);
CRX24_SET_OVLY_MASK(fb); CRX24_SET_OVLY_MASK(fb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment