diff options
author | Jean Delvare <khali@linux-fr.org> | 2014-01-14 15:59:55 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-01-14 09:47:52 -0800 |
commit | 3f9aec7610b39521c7c69d754de7265f6994c194 (patch) | |
tree | 62dd2667a9e0868b18e7727dfd58947d514be196 /drivers/hwmon/fam15h_power.c | |
parent | 319e2e3f63c348a9b66db4667efa73178e18b17d (diff) |
hwmon: (coretemp) Fix truncated name of alarm attributes
When the core number exceeds 9, the size of the buffer storing the
alarm attribute name is insufficient and the attribute name is
truncated. This causes libsensors to skip these attributes as the
truncated name is not recognized.
Reported-by: Andreas Hollmann <hollmann@in.tum.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/fam15h_power.c')
0 files changed, 0 insertions, 0 deletions