eeepc-wmi: fix function return type to kill warning
PATCH 1/1 eeepc-wmi: fix function return type to kill warning
From: Randy Dunlap <[email protected]>
Fix return type warning:
drivers/platform/x86/eeepc-wmi.c:322: warning: initialization from incompatible pointer type
--- drivers/platform/x86/eeepc-wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/eeepc-wmi.c +1 -1
@@ -298,7 +298,7 @@ static void eeepc_wmi_notify(u32 value,kfree (obj); } -static int store_cpufv (struct device *dev,struct device_attribute *attr, +static ssize_t store_cpufv (struct device *dev,struct device_attribute *attr,const char *buf,size_t count) {int value;
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
Corentin Chary
maintainerQuoted 15 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix return type warning:
drivers/platform/x86/eeepc-wmi.c:322: warning: initialization from incompatible pointer typeSigned-off-by Randy Dunlap <[email protected]>---
drivers/platform/x86/eeepc-wmi.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/eeepc-wmi.c static void eeepc_wmi_notify(u32 value, · line 304
Quoted 8 lines
drivers/platform/x86/eeepc-wmi.c +1
-1@@ -298,7 +298,7 @@ static void eeepc_wmi_notify(u32 value, kfree(obj); } -static int store_cpufv (struct device *dev,struct device_attribute *attr, +static ssize_t store_cpufv (struct device *dev,struct device_attribute *attr, const char *buf, size_t count) { int value;
Sorry, too late, :)
Still, Thanks
Signature · 2 lines
Corentin Chary http://xf.iksaif.net