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

From: Greg KH
Date: Mon Mar 17 2014 - 17:34:31 EST


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 'const uchar *' from function dgap_do_fep_load and
> did the same for function dgap_do_bios_load.
>
> Signed-off-by: Masood Mehmood <ody.guru@xxxxxxxxx>
> ---
> drivers/staging/dgap/dgap.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)

This patch does not apply :(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/