summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/intel_th/core.c
diff options
context:
space:
mode:
authorAlexander Shishkin2016-03-04 15:16:31 +0100
committerAlexander Shishkin2016-04-08 15:11:55 +0200
commit6575cbd67172bbcbfbb50ddd854d2b90c9f4e358 (patch)
treeafb171b15a3e11db7aaa847384753fe0a4c22741 /drivers/hwtracing/intel_th/core.c
parentintel_th: pti: Do remove sysfs group on device removal (diff)
downloadkernel-qcow2-linux-6575cbd67172bbcbfbb50ddd854d2b90c9f4e358.tar.gz
kernel-qcow2-linux-6575cbd67172bbcbfbb50ddd854d2b90c9f4e358.tar.xz
kernel-qcow2-linux-6575cbd67172bbcbfbb50ddd854d2b90c9f4e358.zip
intel_th: msu: Handle kstrndup() failure
Currently, the nr_pages attribute store does not check if kstrndup() succeeded. Fix this. Reported-by: Alan Cox <alan.cox@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Laurent Fert <laurent.fert@intel.com>
Diffstat (limited to 'drivers/hwtracing/intel_th/core.c')
0 files changed, 0 insertions, 0 deletions