Commit dae3555d authored by Adam Borowski's avatar Adam Borowski Committed by sanglipeng
Browse files

ACPI: thermal: drop an always true check

stable inclusion
from stable-v5.10.183
commit c92ea38a779f19f8da4a25b182748d3fbcba23d8
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c92ea38a779f19f8da4a25b182748d3fbcba23d8



--------------------------------

commit e5b5d254 upstream.

Address of a field inside a struct can't possibly be null; gcc-12 warns
about this.

Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent a784dbb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment