commit | 648cd48c9e566f53c5df30d79857e0937ae13b09 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Feb 28 10:37:55 2014 -0800 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Mar 03 08:01:06 2014 -0800 |
tree | 1fd88b546e0018249a91befa414730de0a9a553b | |
parent | 768821a302ae98c2d6a570e0ad63780180ba34db [diff] |
hwmon: Do not accept invalid name attributes hwmon name attributes must not include '-', as specified in Documentation/hwmon/sysfs-interface. Also filter out spaces, tabs, wildcards, and newline characters. Tested-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>