Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1686796

[PATCH 6/6] perf/x86/uncore: fix missing marker for skx_uncore_cha_extra_regs

From kan.liang@intel.com
Newsgroups linux.kernel
Subject [PATCH 6/6] perf/x86/uncore: fix missing marker for skx_uncore_cha_extra_regs
Date 2017-07-13 19:40 +0200
Message-ID <u2QfM-85-13@gated-at.bofh.it> (permalink)
References <u2QfL-85-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Stephane Eranian <eranian@google.com>

This skx_uncore_cha_extra_regs array was missing an end-marker.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
---
 arch/x86/events/intel/uncore_snbep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/uncore_snbep.c b/arch/x86/events/intel/uncore_snbep.c
index f9f825b..4f91276 100644
--- a/arch/x86/events/intel/uncore_snbep.c
+++ b/arch/x86/events/intel/uncore_snbep.c
@@ -3334,6 +3334,7 @@ static struct extra_reg skx_uncore_cha_extra_regs[] = {
 	SNBEP_CBO_EVENT_EXTRA_REG(0x9134, 0xffff, 0x4),
 	SNBEP_CBO_EVENT_EXTRA_REG(0x35, 0xff, 0x8),
 	SNBEP_CBO_EVENT_EXTRA_REG(0x36, 0xff, 0x8),
+	EVENT_EXTRA_END
 };
 
 static u64 skx_cha_filter_mask(int fields)
-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 6/6] perf/x86/uncore: fix missing marker for skx_uncore_cha_extra_regs kan.liang@intel.com - 2017-07-13 19:40 +0200

csiph-web