summaryrefslogtreecommitdiff
path: root/drivers/hwmon/w83791d.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-02-28 22:37:55 +0400
committerGuenter Roeck <linux@roeck-us.net>2014-03-03 20:01:06 +0400
commit648cd48c9e566f53c5df30d79857e0937ae13b09 (patch)
tree1fd88b546e0018249a91befa414730de0a9a553b /drivers/hwmon/w83791d.c
parent768821a302ae98c2d6a570e0ad63780180ba34db (diff)
downloadlinux-648cd48c9e566f53c5df30d79857e0937ae13b09.tar.xz
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/hwmon/w83791d.c')
0 files changed, 0 insertions, 0 deletions