Fix the uninitialized usage of ret.
Signed-off-by: Venkatesh Pallipadi <[email protected]>
Index: linux-2.6.22-rc-mm/drivers/cpuidle/sysfs.c
===================================================================
--- linux-2.6.22-rc-mm.orig/drivers/cpuidle/sysfs.c 2007-06-04 15:44:17.000000000 -0700
+++ linux-2.6.22-rc-mm/drivers/cpuidle/sysfs.c 2007-06-04 15:46:49.000000000 -0700
@@ -301,7 +301,7 @@
*/
int cpuidle_add_driver_sysfs(struct cpuidle_device *device)
{
- int i, ret;
+ int i, ret = -ENOMEM;
struct cpuidle_state_kobj *kobj;
/* state statistics */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]