https://github.com/torvalds/linux
Revision d4ba0b06306a70c99a43f9d452886a86e2d3bd26 authored by Kan Liang on 24 June 2021, 18:17:57 UTC, committed by Peter Zijlstra on 02 July 2021, 13:58:33 UTC
The error handling path of iio mapping looks fragile. We already fixed
one issue caused by it, commit f797f05d917f ("perf/x86/intel/uncore:
Fix for iio mapping on Skylake Server"). Clean up the error handling
path and make the code robust.

Reported-by: gushengxian <gushengxian@yulong.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/40e66cf9-398b-20d7-ce4d-433be6e08921@linux.intel.com
1 parent 87bf399
Raw File
Tip revision: d4ba0b06306a70c99a43f9d452886a86e2d3bd26 authored by Kan Liang on 24 June 2021, 18:17:57 UTC
perf/x86/intel/uncore: Clean up error handling path of iio mapping
Tip revision: d4ba0b0
Makefile
# SPDX-License-Identifier: GPL-2.0
# Makefile for Linux samples code

subdir-$(CONFIG_SAMPLE_AUXDISPLAY)	+= auxdisplay
subdir-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs
obj-$(CONFIG_SAMPLE_CONFIGFS)		+= configfs/
obj-$(CONFIG_SAMPLE_CONNECTOR)		+= connector/
subdir-$(CONFIG_SAMPLE_HIDRAW)		+= hidraw
obj-$(CONFIG_SAMPLE_HW_BREAKPOINT)	+= hw_breakpoint/
obj-$(CONFIG_SAMPLE_KDB)		+= kdb/
obj-$(CONFIG_SAMPLE_KFIFO)		+= kfifo/
obj-$(CONFIG_SAMPLE_KOBJECT)		+= kobject/
obj-$(CONFIG_SAMPLE_KPROBES)		+= kprobes/
subdir-$(CONFIG_SAMPLE_LANDLOCK)	+= landlock
obj-$(CONFIG_SAMPLE_LIVEPATCH)		+= livepatch/
subdir-$(CONFIG_SAMPLE_PIDFD)		+= pidfd
obj-$(CONFIG_SAMPLE_QMI_CLIENT)		+= qmi/
obj-$(CONFIG_SAMPLE_RPMSG_CLIENT)	+= rpmsg/
subdir-$(CONFIG_SAMPLE_SECCOMP)		+= seccomp
subdir-$(CONFIG_SAMPLE_TIMER)		+= timers
obj-$(CONFIG_SAMPLE_TRACE_EVENTS)	+= trace_events/
obj-$(CONFIG_SAMPLE_TRACE_PRINTK)	+= trace_printk/
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT)	+= ftrace/
obj-$(CONFIG_SAMPLE_TRACE_ARRAY)	+= ftrace/
subdir-$(CONFIG_SAMPLE_UHID)		+= uhid
obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
obj-y					+= vfio-mdev/
subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/
subdir-$(CONFIG_SAMPLE_WATCHDOG)	+= watchdog
subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
obj-$(CONFIG_DEBUG_KMEMLEAK_TEST)	+= kmemleak/
back to top