Loading
thermal: int340x_thermal: Consolidate priv->data_vault checks
mainline inclusion from mainline-v6.1-rc1 commit e9a7c526 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9LKDZ CVE: CVE-2022-48703 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e9a7c526c29b -------------------------------- It is sufficient to check priv->data_vault once in the error code path of int3400_thermal_probe(), so do that. Signed-off-by:Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by:
Pu Lehui <pulehui@huawei.com>