Skip to content
Commit 6575cbd6 authored by Alexander Shishkin's avatar Alexander Shishkin
Browse files

intel_th: msu: Handle kstrndup() failure



Currently, the nr_pages attribute store does not check if kstrndup()
succeeded. Fix this.

Reported-by: default avatarAlan Cox <alan.cox@intel.com>
Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: default avatarLaurent Fert <laurent.fert@intel.com>
parent 8f1127ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment