linux-next: build warning after merge of the ftrace tree
Hi Steven,
After merging the ftrace tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]
u64 seedsq;
^Introduced by commit 81dc9f0ef21e ("tracing: Add tracepoint benchmark tracepoint").
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Quoted 11 lines · On Wed, 4 Jun 2014 16:09:21 +1000 Stephen Rothwell <[email protected]> wrote:
Hi Steven,
After merging the ftrace tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]u64 seedsq; ^Introduced by commit
81dc9f0ef21e("tracing: Add tracepoint benchmark tracepoint").
Hmm, I don't know why my tests missed this. I do a allmodconfig looking for new warning messages too. Oh, but I do need to add this config to my regular testing config :-/
I'm surprised Wu's bot didn't report it either.
I'm not going to rebase, but I'll add a patch to nuke it.
Thanks!
-- Steve
Hi Steve,
Quoted 14 lines · On Wed, 4 Jun 2014 12:26:12 -0400 Steven Rostedt <[email protected]> wrote:
Quoted 9 lines · On Wed, 4 Jun 2014 16:09:21 +1000 Stephen Rothwell <[email protected]> wrote:
After merging the ftrace tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]u64 seedsq; ^Introduced by commit
81dc9f0ef21e("tracing: Add tracepoint benchmark tracepoint").
Quoted 7 lines
Hmm, I don't know why my tests missed this. I do a allmodconfig looking for new warning messages too. Oh, but I do need to add this config to my regular testing config :-/
I'm surprised Wu's bot didn't report it either.
I'm not going to rebase, but I'll add a patch to nuke it.
Correct behaviour! :-)
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Quoted 13 lines · Steven Rostedt
Quoted 10 lines · On Wed, 4 Jun 2014 16:09:21 +1000 Stephen Rothwell <[email protected]> wrote:
Hi Steven,
After merging the ftrace tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]u64 seedsq; ^
Quoted 7 lines
Quoted 1 line
Introduced by commit
81dc9f0ef21e("tracing: Add tracepoint benchmark tracepoint").Hmm, I don't know why my tests missed this. I do a allmodconfig looking for new warning messages too. Oh, but I do need to add this config to my regular testing config :-/
I'm surprised Wu's bot didn't report it either.
Steven, it was reported, here is the email archive:
https://lists.01.org/pipermail/kbuild-all/2014-May/004749.html
Thanks,
Fengguang
Quoted 20 lines · On Thu, 5 Jun 2014 08:20:12 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 19 lines · Steven Rostedt
Quoted 11 lines · On Wed, 4 Jun 2014 16:09:21 +1000 Stephen Rothwell <[email protected]> wrote:
Hi Steven,
After merging the ftrace tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]u64 seedsq; ^Introduced by commit
81dc9f0ef21e("tracing: Add tracepoint benchmark tracepoint").Hmm, I don't know why my tests missed this. I do a allmodconfig looking for new warning messages too. Oh, but I do need to add this config to my regular testing config :-/
Quoted 5 lines
Quoted 1 line
I'm surprised Wu's bot didn't report it either.
Steven, it was reported, here is the email archive:
https://lists.01.org/pipermail/kbuild-all/2014-May/004749.html
Was I Cc'd? I don't have that in my inbox, nor do I see it in any of my spam filters.
-- Steve
Quoted 23 lines · Steven Rostedt
Quoted 20 lines · On Thu, 5 Jun 2014 08:20:12 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 19 lines · Steven Rostedt
Quoted 11 lines · On Wed, 4 Jun 2014 16:09:21 +1000 Stephen Rothwell <[email protected]> wrote:
Hi Steven,
After merging the ftrace tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]u64 seedsq; ^Introduced by commit
81dc9f0ef21e("tracing: Add tracepoint benchmark tracepoint").Hmm, I don't know why my tests missed this. I do a allmodconfig looking for new warning messages too. Oh, but I do need to add this config to my regular testing config :-/
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
I'm surprised Wu's bot didn't report it either.
Steven, it was reported, here is the email archive:
https://lists.01.org/pipermail/kbuild-all/2014-May/004749.html
Was I Cc'd? I don't have that in my inbox, nor do I see it in any of my spam filters.
Yes, here is the email message:
Date: Sat, 31 May 2014 02:16:43 +0800
From: kbuild test robot <[email protected]>
==> To: "Steven Rostedt (Red Hat)" <[email protected]>
CC: [email protected] Subject: [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' User-Agent: Heirloom mailx 12.5 6/20/10 tree: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/core head: 4c27e756bc019ec1c11232893af036fdae720a97 commit: 81dc9f0ef21e40114cc895894c7acf3055f6d1fb [29/32] tracing: Add tracepoint benchmark tracepoint config: make ARCH=x86_64 allmodconfig All warnings: kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark': >> kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable] u64 seedsq; ^
Thanks,
Fengguang
Quoted 8 lines · On Thu, 5 Jun 2014 09:03:53 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
Was I Cc'd? I don't have that in my inbox, nor do I see it in any of my spam filters.
Yes, here is the email message:
Date: Sat, 31 May 2014 02:16:43 +0800
From: kbuild test robot <[email protected]>
==> To: "Steven Rostedt (Red Hat)" <[email protected]>
Hmm, I wonder where it ended up? I do have a pretty complex procmailrc file, but I even checked the procmail log file, and it doesn't show it.
I don't think my email provider dropped it, as I have all the spam filtering turned off and do my own filtering. Although, they may have added something behind my back. Wouldn't be the first time.
Are you sure that got sent?
Can you check if your bots have triggered anything else for me. Because your bots have been surprisingly quiet lately. I just took that as me getting better at not pushing crap.
I may add a bad commit to one of my branches and see if I get a response from you just to test it out. I really hope we can fix this because I've gotten someone dependent on your reports. :-/
-- Steve
Quoted 17 lines
CC: [email protected] Subject: [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' User-Agent: Heirloom mailx 12.5 6/20/10 tree: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/core head: 4c27e756bc019ec1c11232893af036fdae720a97 commit: 81dc9f0ef21e40114cc895894c7acf3055f6d1fb [29/32] tracing: Add tracepoint benchmark tracepoint config: make ARCH=x86_64 allmodconfig All warnings: kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark': >> kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable] u64 seedsq; ^Thanks,
Fengguang
Quoted 3 lines · On Wed, 4 Jun 2014 21:12:02 -0400 Steven Rostedt <[email protected]> wrote:
I may add a bad commit to one of my branches and see if I get a response from you just to test it out. I really hope we can fix this because I've gotten someone dependent on your reports. :-/
I did just this. I created a branch called test-wu-bot and added a commit that removed a semicolon. I pushed it up to kernel.org. Now I'll just sit back to see if it reports a build failure.
Thanks,
-- Steve
Quoted 12 lines · Steven Rostedt
Quoted 8 lines · On Thu, 5 Jun 2014 09:03:53 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
Was I Cc'd? I don't have that in my inbox, nor do I see it in any of my spam filters.
Yes, here is the email message:
Date: Sat, 31 May 2014 02:16:43 +0800
From: kbuild test robot <[email protected]>
==> To: "Steven Rostedt (Red Hat)" <[email protected]>
Quoted 8 lines
Hmm, I wonder where it ended up? I do have a pretty complex procmailrc file, but I even checked the procmail log file, and it doesn't show it.
I don't think my email provider dropped it, as I have all the spam filtering turned off and do my own filtering. Although, they may have added something behind my back. Wouldn't be the first time.
Are you sure that got sent?
I have no supporting log to check whether the emails are actually sent to you. All I have is the list of emails that were sent, and these emails do have the TO: field to you.
Quoted 3 lines
Can you check if your bots have triggered anything else for me. Because your bots have been surprisingly quiet lately. I just took that as me getting better at not pushing crap.
Here are the recent emails sent to you:
439 F May 10 To Steven Rostedt (4440:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:108:27: warning: 'removed_ops' defined but not used 446 F May 10 To Steven Rostedt (3531:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:5358:12: error: 'struct ftrace_ops' has no member named 'trampoline' 1207 F May 31 To Steven Rostedt ( 43:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' 1210 F May 31 To Steven Rostedt ( 29:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:84:3: warning: comparison of distinct pointer types lacks a cast
Quoted 3 lines
I may add a bad commit to one of my branches and see if I get a response from you just to test it out. I really hope we can fix this because I've gotten someone dependent on your reports. :-/
Yes we need to fix it. The same lost email issue has happened for someone else, which was fixed by changing the email address. I can conveniently redirect reports to any other email addresses you have.
Thanks,
Fengguang
Quoted 21 lines
-- Steve
Quoted 17 lines
CC: [email protected] Subject: [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' User-Agent: Heirloom mailx 12.5 6/20/10 tree: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/core head: 4c27e756bc019ec1c11232893af036fdae720a97 commit: 81dc9f0ef21e40114cc895894c7acf3055f6d1fb [29/32] tracing: Add tracepoint benchmark tracepoint config: make ARCH=x86_64 allmodconfig All warnings: kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark': >> kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable] u64 seedsq; ^Thanks,
Fengguang
Quoted 6 lines · On Thu, 5 Jun 2014 09:33:00 +0800 Fengguang Wu <[email protected]> wrote:
Here are the recent emails sent to you:
439 F May 10 To Steven Rostedt (4440:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:108:27: warning: 'removed_ops' defined but not used 446 F May 10 To Steven Rostedt (3531:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:5358:12: error: 'struct ftrace_ops' has no member named 'trampoline' 1207 F May 31 To Steven Rostedt ( 43:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' 1210 F May 31 To Steven Rostedt ( 29:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:84:3: warning: comparison of distinct pointer types lacks a cast
I don't have any of those :-(
Quoted 8 lines
Quoted 4 lines
I may add a bad commit to one of my branches and see if I get a response from you just to test it out. I really hope we can fix this because I've gotten someone dependent on your reports. :-/
Yes we need to fix it. The same lost email issue has happened for someone else, which was fixed by changing the email address. I can conveniently redirect reports to any other email addresses you have.
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
Thanks.
-- Steve
Quoted 4 lines · Steven Rostedt
On Thu, 5 Jun 2014 09:33:00 +0800
Fengguang Wu <[email protected]> wrote:
Quoted 8 lines
Quoted 6 lines
Here are the recent emails sent to you:
439 F May 10 To Steven Rostedt (4440:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:108:27: warning: 'removed_ops' defined but not used 446 F May 10 To Steven Rostedt (3531:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:5358:12: error: 'struct ftrace_ops' has no member named 'trampoline' 1207 F May 31 To Steven Rostedt ( 43:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' 1210 F May 31 To Steven Rostedt ( 29:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:84:3: warning: comparison of distinct pointer types lacks a castI don't have any of those :-(
Ah..
Quoted 10 lines
Quoted 7 lines
Quoted 3 lines
I may add a bad commit to one of my branches and see if I get a response from you just to test it out. I really hope we can fix this because I've gotten someone dependent on your reports. :-/
Yes we need to fix it. The same lost email issue has happened for someone else, which was fixed by changing the email address. I can conveniently redirect reports to any other email addresses you have.
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
OK. I've committed the change. Let's see how well it will work.
Thanks,
Fengguang
Quoted 4 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
OK. I've committed the change. Let's see how well it will work.
OK, I never received an error message for my buggy commit I posted before you did this change. I fixed the buggy commit and added another bug. I'll now wait again to see if I get notified.
-- Steve
Quoted 5 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 4 lines · Steven Rostedt
On Thu, 5 Jun 2014 09:33:00 +0800
Fengguang Wu <[email protected]> wrote:
Quoted 9 lines
Quoted 8 lines
Quoted 6 lines
Here are the recent emails sent to you:
439 F May 10 To Steven Rostedt (4440:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:108:27: warning: 'removed_ops' defined but not used 446 F May 10 To Steven Rostedt (3531:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:5358:12: error: 'struct ftrace_ops' has no member named 'trampoline' 1207 F May 31 To Steven Rostedt ( 43:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' 1210 F May 31 To Steven Rostedt ( 29:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:84:3: warning: comparison of distinct pointer types lacks a castI don't have any of those :-(
BTW, can you give me the links to those errors. I'd like to fix them.
Thanks,
-- Steve
Quoted 10 lines · Steven Rostedt
Quoted 7 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 6 lines · Steven Rostedt
Quoted 2 lines · On Thu, 5 Jun 2014 09:33:00 +0800 Fengguang Wu <[email protected]> wrote:
Here are the recent emails sent to you:
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
439 F May 10 To Steven Rostedt (4440:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:108:27: warning: 'removed_ops' defined but not used 446 F May 10 To Steven Rostedt (3531:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:5358:12: error: 'struct ftrace_ops' has no member named 'trampoline' 1207 F May 31 To Steven Rostedt ( 43:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' 1210 F May 31 To Steven Rostedt ( 29:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:84:3: warning: comparison of distinct pointer types lacks a castI don't have any of those :-(
BTW, can you give me the links to those errors. I'd like to fix them.
Sure. Search "ftrace" in this page, and you'll get all the 4 reports:
https://lists.01.org/pipermail/kbuild-all/2014-May/date.html
Thanks,
Fengguang
Quoted 5 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 4 lines · Steven Rostedt
On Thu, 5 Jun 2014 09:33:00 +0800
Fengguang Wu <[email protected]> wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Here are the recent emails sent to you:
439 F May 10 To Steven Rostedt (4440:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:108:27: warning: 'removed_ops' defined but not used 446 F May 10 To Steven Rostedt (3531:1) [trace:ftrace/next-3.17 29/29] kernel/trace/ftrace.c:5358:12: error: 'struct ftrace_ops' has no member named 'trampoline' 1207 F May 31 To Steven Rostedt ( 43:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' 1210 F May 31 To Steven Rostedt ( 29:0) [trace:ftrace/core 29/32] kernel/trace/trace_benchmark.c:84:3: warning: comparison of distinct pointer types lacks a castI don't have any of those :-(
BTW, this is the last report I received from your build bot. Anything after that has gone into limbo.
From: kbuild test robot <[email protected]>
To: Steven Rostedt <[email protected]>
Cc: Daniel Vetter <[email protected]>, [email protected]
Subject: [drm-intel:for-linux-next 342/342] drivers/gpu/drm/i915/./i915_trace.h:246:22: error: 'dev' undeclared
Date: Wed, 19 Mar 2014 10:12:41 +0800
User-Agent: Heirloom mailx 12.5 6/20/10
Message-ID: <5328fd19.A1aXhOyyvL3I2gl3%[email protected]>
I noticed that there was no "Red Hat" in that one.
-- Steve
Quoted 11 lines · Steven Rostedt
Quoted 4 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
OK. I've committed the change. Let's see how well it will work.
OK, I never received an error message for my buggy commit I posted before you did this change. I fixed the buggy commit and added another bug. I'll now wait again to see if I get notified.
Sorry we got something wrong and your first bad commit is not tested. The new one is being tested now.
Thanks,
Fengguang
Quoted 11 lines · Steven Rostedt
Quoted 4 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
OK. I've committed the change. Let's see how well it will work.
OK, I never received an error message for my buggy commit I posted before you did this change. I fixed the buggy commit and added another bug. I'll now wait again to see if I get notified.
FYI, we got two error reports
[trace:test-wu-bot 28/29] kernel/trace/trace.c:6683:1: error: expected '; ' before '}' token [trace:test-wu-bot 29/29] kernel/trace/trace.c:6701:9: error: 'x' undeclared
in
https://lists.01.org/pipermail/kbuild-all/2014-June/004839.html
https://lists.01.org/pipermail/kbuild-all/2014-June/004840.html
Thanks,
Fengguang
Quoted 15 lines · On Thu, 5 Jun 2014 11:03:34 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 11 lines · Steven Rostedt
Quoted 4 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
OK. I've committed the change. Let's see how well it will work.
OK, I never received an error message for my buggy commit I posted before you did this change. I fixed the buggy commit and added another bug. I'll now wait again to see if I get notified.
FYI, we got two error reports
Quoted 8 lines
[trace:test-wu-bot 28/29]
kernel/trace/trace.c:6683:1: error: expected '; ' before '}' token [trace:test-wu-bot 29/29]kernel/trace/trace.c:6701:9: error: 'x' undeclaredin
https://lists.01.org/pipermail/kbuild-all/2014-June/004839.html
https://lists.01.org/pipermail/kbuild-all/2014-June/004840.html
And I received no emails :-(
I wonder why it's failing. What changed since March? I can't think of anything on my end.
-- Steve
Quoted 21 lines · Steven Rostedt
Quoted 18 lines · On Thu, 5 Jun 2014 11:03:34 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 11 lines · Steven Rostedt
Quoted 4 lines · On Thu, 5 Jun 2014 10:14:57 +0800 Fengguang Wu <[email protected]> wrote:
Quoted 2 lines
I wonder if the "(Red Hat)" part is causing an issue. Can you send directly to my email "[email protected]" and strip the name part?
OK. I've committed the change. Let's see how well it will work.
OK, I never received an error message for my buggy commit I posted before you did this change. I fixed the buggy commit and added another bug. I'll now wait again to see if I get notified.
FYI, we got two error reports
[trace:test-wu-bot 28/29]
kernel/trace/trace.c:6683:1: error: expected '; ' before '}' token [trace:test-wu-bot 29/29]kernel/trace/trace.c:6701:9: error: 'x' undeclared
Quoted 7 lines
Quoted 5 lines
in
https://lists.01.org/pipermail/kbuild-all/2014-June/004839.html
https://lists.01.org/pipermail/kbuild-all/2014-June/004840.htmlAnd I received no emails :-(
Those 2 emails has
To: Steven Rostedt <[email protected]>
in the header.
Quoted 2 lines
I wonder why it's failing. What changed since March? I can't think of anything on my end.
It could be changes in one of the SMTP servers. Who knows. The simplest workaround may be to have another email address to receive all reports to you.
Thanks,
Fengguang