lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 26 Jan 2013 04:20:16 -0800
From:	tip-bot for Borislav Petkov <>
Subject: [tip:perf/x86] perf/x86: Fix type to address build warning

Commit-ID:  fc7d3e64651e4de80262e48a3fb75128fffb8ef3
Author:     Borislav Petkov <>
AuthorDate: Fri, 25 Jan 2013 18:46:07 +0100
Committer:  Ingo Molnar <>
CommitDate: Fri, 25 Jan 2013 19:32:02 +0100

perf/x86: Fix type to address build warning

Fix this one:

 arch/x86/kernel/cpu/perf_event.c: In function ‘init_hw_perf_events’:
 arch/x86/kernel/cpu/perf_event.c:1508:7: warning: assignment from incompatible pointer type [enabled by default]
 arch/x86/kernel/cpu/perf_event.c:1510:31: warning: assignment from incompatible pointer type [enabled by default]

Signed-off-by: Borislav Petkov <>
Cc: Andi Kleen <>
Cc: Stephane Eranian <>
Signed-off-by: Ingo Molnar <>
 arch/x86/kernel/cpu/perf_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index 1e2519d..c6ef37a 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -1503,7 +1503,7 @@ static int __init init_hw_perf_events(void)
 	if (x86_pmu.cpu_events) {
-		struct attribute *tmp;
+		struct attribute **tmp;
 		tmp = merge_attr(x86_pmu_events_group.attrs, x86_pmu.cpu_events);
 		if (!WARN_ON(!tmp))
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists