From: Guenter Roeck Date: Fri, 13 Sep 2013 17:25:53 +0000 (-0700) Subject: hwmon: (mc13783-adc) Increase size of name string X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~18^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae02e7418ffa2ba5d927869ef9eab4c87549d8e9;p=pandora-kernel.git hwmon: (mc13783-adc) Increase size of name string smatch complains about mc13783_adc_probe() error: snprintf() chops off the last chars of 'id->name': 20 +vs 10 Use PLATFORM_NAME_SIZE instead of '10' as size when declaring the name variable. Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed