diff options
| author | Lukasz Majewski <[email protected]> | 2015-01-28 15:25:22 +0000 |
|---|---|---|
| committer | Eduardo Valentin <[email protected]> | 2015-01-28 05:29:02 +0000 |
| commit | eccb60145415dd8e171687cd1694f50141f50d6d (patch) | |
| tree | 24c062368548f869e47f9b28197a5f2934ff65fa /fs/ubifs/commit.c | |
| parent | thermal: Kconfig: Remove config for not used EXYNOS_THERMAL_CORE (diff) | |
| download | kernel-eccb60145415dd8e171687cd1694f50141f50d6d.tar.gz kernel-eccb60145415dd8e171687cd1694f50141f50d6d.zip | |
thermal: exynos: Correct sanity check at exynos_report_trigger() function
Up till now, by mistake, wrong variable was tested against being NULL.
Since exynos_report_trigger() is always called with valid p pointer,
it is only necessary to check if a valid thermal zone device is passed.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
