Messages in this thread | | | Date | Tue, 18 Mar 2014 13:05:37 -0700 | From | Greg KH <> | Subject | Re: [PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type |
| |
On Thu, Mar 13, 2014 at 03:02:59AM -0700, Masood Mehmood wrote: > sparse reported dgap_do_fep_load is redeclared with different type. while > fixing, I noticed __user attribute is used incorrectly in declaration. > There is no need to define __user for firware->data. > > Replaced the __user with 'const uchar *' from function dgap_do_fep_load and > did the same for function dgap_do_bios_load > > patch generated against: next-20140317 > > Signed-off-by: Masood Mehmood <ody.guru@gmail.com> > --- > drivers/staging/dgap/dgap.c | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-)
This patch does not apply to my staging-next branch, sorry. Please redo it and resend.
thanks,
greg k-h
| |