Commit d4ba0b0
perf/x86/intel/uncore: Clean up error handling path of iio mapping
The error handling path of iio mapping looks fragile. We already fixed
one issue caused by it, commit f797f05 ("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.com1 parent 87bf399 commit d4ba0b0
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3789 | 3789 | | |
3790 | 3790 | | |
3791 | 3791 | | |
3792 | | - | |
| 3792 | + | |
3793 | 3793 | | |
3794 | 3794 | | |
3795 | 3795 | | |
3796 | | - | |
| 3796 | + | |
3797 | 3797 | | |
3798 | 3798 | | |
3799 | 3799 | | |
| |||
3814 | 3814 | | |
3815 | 3815 | | |
3816 | 3816 | | |
| 3817 | + | |
3817 | 3818 | | |
| 3819 | + | |
3818 | 3820 | | |
3819 | 3821 | | |
3820 | 3822 | | |
| |||
0 commit comments