a2392e0b90
Fixes to the Abit uGuru driver as requested in review by Jean Delvare: - exactly calculate the sysfs_names array length using macro - use snprintf when generating names to double check that the sysfs_names array does not overflow. - use ARRAY_SIZE and / or defines to determine number of loops in for loops instead of using hardcoded values. - In abituguru_probe(), refactor the error path leaving a single call to kfree Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
abituguru.c | ||
adm1021.c | ||
adm1025.c | ||
adm1026.c | ||
adm1031.c | ||
adm9240.c | ||
asb100.c | ||
atxp1.c | ||
ds1621.c | ||
f71805f.c | ||
fscher.c | ||
fscpos.c | ||
gl518sm.c | ||
gl520sm.c | ||
hdaps.c | ||
hwmon-vid.c | ||
hwmon.c | ||
it87.c | ||
Kconfig | ||
lm63.c | ||
lm75.c | ||
lm75.h | ||
lm77.c | ||
lm78.c | ||
lm80.c | ||
lm83.c | ||
lm85.c | ||
lm87.c | ||
lm90.c | ||
lm92.c | ||
Makefile | ||
max1619.c | ||
pc87360.c | ||
sis5595.c | ||
smsc47b397.c | ||
smsc47m1.c | ||
smsc47m192.c | ||
via686a.c | ||
vt8231.c | ||
w83l785ts.c | ||
w83627ehf.c | ||
w83627hf.c | ||
w83781d.c | ||
w83791d.c | ||
w83792d.c |