Skip to content
Commit fd54889b authored by Masood Mehmood's avatar Masood Mehmood Committed by Greg Kroah-Hartman
Browse files

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



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-20140318

Signed-off-by: default avatarMasood Mehmood <ody.guru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a3acc83a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment