Re: [PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-18 Thread Greg KH
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 '

[PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-17 Thread Masood Mehmood
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 functio

Re: [PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-17 Thread Greg KH
On Wed, Mar 12, 2014 at 08:55:44PM -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 '

Re: [PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-17 Thread Greg KH
On Sun, Mar 09, 2014 at 12:57:35AM -0800, 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 '

[PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-12 Thread Masood Mehmood
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 functio

[PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-10 Thread Masood Mehmood
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 functio