diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-02-28 10:37:55 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-03-03 08:01:06 -0800 |
commit | 648cd48c9e566f53c5df30d79857e0937ae13b09 (patch) | |
tree | 1fd88b546e0018249a91befa414730de0a9a553b /drivers/ata | |
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>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions