summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-11-18 14:37:38 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-11-24 13:40:47 +0100
commit935dff305da2be7957a5ce8f07f45d6c4c1c6984 (patch)
tree29c7df663045829ef486224688d891d61ae84dcd /net/unix/af_unix.c
parent136057256686de39cc3a07c2e39ef6bc43003ff6 (diff)
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 <kai.heng.feng@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: 5.15+ <stable@vger.kernel.org> # 5.15+ Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions