* [PATCH] C99 initializer fix for drivers/video/vfb.c
@ 2002-12-04 20:24 Art Haas
2002-12-04 23:11 ` James Simmons
0 siblings, 1 reply; 2+ messages in thread
From: Art Haas @ 2002-12-04 20:24 UTC (permalink / raw)
To: linux-kernel; +Cc: Linus Torvalds
Hi.
This patch fixes a half-conversion to C99 initializers - the '='
characters were dropped. The patch is against 2.5.50.
Art Haas
--- linux-2.5.50/drivers/video/vfb.c.old 2002-12-04 13:25:50.000000000 -0600
+++ linux-2.5.50/drivers/video/vfb.c 2002-12-04 13:25:00.000000000 -0600
@@ -96,17 +96,17 @@
struct vm_area_struct *vma);
static struct fb_ops vfb_ops = {
- .fb_set_var gen_set_var,
- .fb_get_cmap gen_set_cmap,
- .fb_set_cmap gen_set_cmap,
- .fb_check_var vfb_check_var,
- .fb_set_par vfb_set_par,
- .fb_setcolreg vfb_setcolreg,
- .fb_pan_display vfb_pan_display,
- .fb_fillrect cfb_fillrect,
- .fb_copyarea cfb_copyarea,
- .fb_imageblit cfb_imageblit,
- .fb_mmap vfb_mmap,
+ .fb_set_var = gen_set_var,
+ .fb_get_cmap = gen_set_cmap,
+ .fb_set_cmap = gen_set_cmap,
+ .fb_check_var = vfb_check_var,
+ .fb_set_par = vfb_set_par,
+ .fb_setcolreg = vfb_setcolreg,
+ .fb_pan_display = vfb_pan_display,
+ .fb_fillrect = cfb_fillrect,
+ .fb_copyarea = cfb_copyarea,
+ .fb_imageblit = cfb_imageblit,
+ .fb_mmap = vfb_mmap,
};
/*
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] C99 initializer fix for drivers/video/vfb.c
2002-12-04 20:24 [PATCH] C99 initializer fix for drivers/video/vfb.c Art Haas
@ 2002-12-04 23:11 ` James Simmons
0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2002-12-04 23:11 UTC (permalink / raw)
To: Art Haas; +Cc: linux-kernel, Linus Torvalds
Its fixed in my latest work which shoudl be coming very soon as you can
see by the emails :-)
MS: (n) 1. A debilitating and surprisingly widespread affliction that
renders the sufferer barely able to perform the simplest task. 2. A disease.
James Simmons [jsimmons@users.sf.net] ____/|
fbdev/console/gfx developer \ o.O|
http://www.linux-fbdev.org =(_)=
http://linuxgfx.sourceforge.net U
http://linuxconsole.sourceforge.net
On Wed, 4 Dec 2002, Art Haas wrote:
> Hi.
>
> This patch fixes a half-conversion to C99 initializers - the '='
> characters were dropped. The patch is against 2.5.50.
>
> Art Haas
>
> --- linux-2.5.50/drivers/video/vfb.c.old 2002-12-04 13:25:50.000000000 -0600
> +++ linux-2.5.50/drivers/video/vfb.c 2002-12-04 13:25:00.000000000 -0600
> @@ -96,17 +96,17 @@
> struct vm_area_struct *vma);
>
> static struct fb_ops vfb_ops = {
> - .fb_set_var gen_set_var,
> - .fb_get_cmap gen_set_cmap,
> - .fb_set_cmap gen_set_cmap,
> - .fb_check_var vfb_check_var,
> - .fb_set_par vfb_set_par,
> - .fb_setcolreg vfb_setcolreg,
> - .fb_pan_display vfb_pan_display,
> - .fb_fillrect cfb_fillrect,
> - .fb_copyarea cfb_copyarea,
> - .fb_imageblit cfb_imageblit,
> - .fb_mmap vfb_mmap,
> + .fb_set_var = gen_set_var,
> + .fb_get_cmap = gen_set_cmap,
> + .fb_set_cmap = gen_set_cmap,
> + .fb_check_var = vfb_check_var,
> + .fb_set_par = vfb_set_par,
> + .fb_setcolreg = vfb_setcolreg,
> + .fb_pan_display = vfb_pan_display,
> + .fb_fillrect = cfb_fillrect,
> + .fb_copyarea = cfb_copyarea,
> + .fb_imageblit = cfb_imageblit,
> + .fb_mmap = vfb_mmap,
> };
>
> /*
> --
> They that can give up essential liberty to obtain a little temporary safety
> deserve neither liberty nor safety.
> -- Benjamin Franklin, Historical Review of Pennsylvania, 1759
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-04 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 20:24 [PATCH] C99 initializer fix for drivers/video/vfb.c Art Haas
2002-12-04 23:11 ` James Simmons
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.