https://github.com/torvalds/linux
Revision 363434b5dc352464ac7601547891e5fc9105f124 authored by Guenter Roeck on 22 February 2012, 16:13:52 UTC, committed by Guenter Roeck on 23 February 2012, 14:47:41 UTC
An error while creating sysfs attribute files in the driver's probe function
results in an error abort, but already created files are not removed. This patch
fixes the problem.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: stable@vger.kernel.org # 3.0+
Cc: Dirk Eibach <eibach@gdsys.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
1 parent 2f2da1a
History
Tip revision: 363434b5dc352464ac7601547891e5fc9105f124 authored by Guenter Roeck on 22 February 2012, 16:13:52 UTC
hwmon: (ads1015) Fix file leak in probe function
Tip revision: 363434b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 202.2 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top