[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140310183712.GA27534@kroah.com>
Date: Mon, 10 Mar 2014 11:37:12 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Masood Mehmood <ody.guru@...il.com>
Cc: devel@...verdev.osuosl.org, lidza.louina@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] staging: dgap: Fixed sparse error: same symbol
redeclared with different type
On Sat, Mar 08, 2014 at 11:18:42PM -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 '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@...il.com>
> ---
> drivers/staging/dgap/dgap.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
I don't see a patch 1/2 here, did you forget to send it to me?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists