Re: [PATCH 2.6.7-rc2] get rid of fbmem warning
From: Stephen Hemminger <hidden>
Date: 2004-06-07 21:45:37
From: Stephen Hemminger <hidden>
Date: 2004-06-07 21:45:37
On Mon, 7 Jun 2004 23:14:56 +0200 (MEST) Geert Uytterhoeven [off-list ref] wrote:
On Mon, 7 Jun 2004, Stephen Hemminger wrote:quoted
Get rid of warning because fb_image data is declared 'const char *' but is being modified by the copy_from_user.
My preference would be to get rid of all qualifiers on individual structure elements. It is kind of like putting volatile on the structure element, it isn't really what you want to do. I can't see how it could help code generation and since you have to overide it anyway it doesn't make much sense. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org