Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (w83627ehf) Fix broken driver init
Commit 2265cef (hwmon: (w83627ehf) Properly report PECI and AMD-SI sensor types) results in kernel panic if data->temp_label was not initialized. The problem was found with chip W83627DHG-P. Add check if data->temp->label was set before use. Based on incomplete patch by Alexander Beregalov. Reported-by: Alexander Beregalov <[email protected]> Tested-by: Alexander Beregalov <[email protected]> Cc: [email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
- Loading branch information