diff options
author | Kan Liang <kan.liang@intel.com> | 2017-06-29 22:09:26 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-29 22:28:13 +0300 |
commit | 80c65fdb4c6920e332a9781a3de5877594b07522 (patch) | |
tree | 7a4d448c21dc2ba5c6e81a2828f449f60dad31f3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 98fe3633c5a44e5ee3d642907739eb0210407886 (diff) | |
download | linux-80c65fdb4c6920e332a9781a3de5877594b07522.tar.xz |
perf/x86/intel/uncore: Fix wrong box pointer check
Should not init a NULL box. It will cause system crash.
The issue looks like caused by a typo.
This was not noticed because there is no NULL box. Also, for most
boxes, they are enabled by default. The init code is not critical.
Fixes: fff4b87e594a ("perf/x86/intel/uncore: Make package handling more robust")
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/20170629190926.2456-1-kan.liang@intel.com
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions