Prev: [GIT PULL] amended: first round of vhost-net enhancements for net-next
Next: [PATCH 10/12] perf: make nr_events an int and add perf_online_mutex to protect it
From: Jean Delvare on 4 May 2010 07:40 On Tue, 04 May 2010 13:15:51 +0200, Henrik Rydberg wrote: > Jean Delvare wrote: > [...] > >> @@ -1578,6 +1717,8 @@ static int __init applesmc_init(void) > >> } > >> ret = sysfs_create_file(&pdev->dev.kobj, > >> temperature_attributes[i]); > > > > Missing error handling. > > > >> + ret = sysfs_create_file(&pdev->dev.kobj, > >> + label_attributes[i]); > >> if (ret) > >> goto out_temperature; > >> } > > > > Shoot, my bad review. Will send a new patch. While at it, the same function > seems to leak fan attribute groups. Want me to correct such issues (in another > patch)? Yes please. As a bugfix, that would even be a candidate for 2.6.34. I have another patch (for asc7621) pending already. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |