From: Guenter Roeck Date: Fri, 28 Feb 2014 18:37:55 +0000 (-0800) Subject: hwmon: Do not accept invalid name attributes X-Git-Tag: v3.15-rc1~145^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=648cd48c9e566f53c5df30d79857e0937ae13b09;p=pandora-kernel.git 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 Reviewed-by: Jean Delvare Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed