Skip to content
Commit 4dea4177 authored by Kang Chen's avatar Kang Chen Committed by Rafael J. Wysocki
Browse files

ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()



devm_kzalloc() may fail, clk_data->name might be NULL and will
cause a NULL pointer dereference later.

Signed-off-by: default avatarKang Chen <void0red@gmail.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent e8d018dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment