aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2021-11-18 13:37:38 +0000
committerRafael J. Wysocki <[email protected]>2021-11-24 12:40:47 +0000
commit935dff305da2be7957a5ce8f07f45d6c4c1c6984 (patch)
tree29c7df663045829ef486224688d891d61ae84dcd /net/unix/af_unix.c
parentLinux 5.16-rc2 (diff)
downloadkernel-935dff305da2be7957a5ce8f07f45d6c4c1c6984.tar.gz
kernel-935dff305da2be7957a5ce8f07f45d6c4c1c6984.zip
ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
Check cpc_desc against NULL in cppc_get_perf(), so it doesn't crash down the road if cpc_desc is NULL. Fixes: 0654cf05d17b ("ACPI: CPPC: Introduce cppc_get_nominal_perf()") Reported-by: Kai-Heng Feng <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Cc: 5.15+ <[email protected]> # 5.15+ Tested-by: Kai-Heng Feng <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions