xen: credit2: remove undefined static function __dump_execstate().
PATCH 1/1 xen: credit2: remove undefined static function __dump_execstate().
---
Cc: George Dunlap <[email protected]>
--- xen/common/sched_credit2.c | 2 -- 1 file changed, 2 deletions(-)
xen/common/sched_credit2.c +0 -2
@@ -2437,8 +2437,6 @@ csched2_runtime(const struct scheduler *ops, int cpu,return time; } -void __dump_execstate (void *unused); -/* * Find a candidate. */
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
xen/common/sched_credit2.c csched2_runtime(const struct scheduler *ops, int cpu, · line 2440
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 09.03.17 at 10:54, <[email protected]> wrote:
xen/common/sched_credit2.c +0
-1@@ -2437,8 +2437,6 @@ csched2_runtime(const struct scheduler *ops, int cpu,return time; } -void __dump_execstate (void *unused);
All fine, except the function wasn't static (or else the compiler would have warned about there not being a definition), so perhaps the subject wants to say "undefined function declaration" or some such.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 16 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 09.03.17 at 10:54, <[email protected]> wrote:
xen/common/sched_credit2.c +0
-0@@ -2437,8 +2437,6 @@ csched2_runtime(const struct scheduler *ops,int cpu, return time; }
-void__dump_execstate(void *unused);All fine, except the function wasn't static (or else the compiler would
have warned about there not being a definition), so perhaps the subject wants to say "undefined function declaration" or some such.
Right, of course it's not... sorry. What I was aiming was to somehow reinforce the fact that it's only present in this file, but that's not really necessary, and 'static' was very wrong a word for that.
I'd be fine with a subject line like:
"xen: credit: remove undefined declaration of __dump_execstate()"
Let me know if you or George prefer that I resend, or to adjust this upon commit. Or just ignore this mail, and if I don't hear anything for
a while, I will just resend. :-)
Thanks,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 18 lines
Quoted 1 line
Quoted 1 line · On 09.03.17 at 11:36, <[email protected]> wrote:
Quoted 9 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 09.03.17 at 10:54, <[email protected]> wrote:
xen/common/sched_credit2.c +0
-0@@ -2437,8 +2437,6 @@ csched2_runtime(const struct scheduler *ops,int cpu, return time; }Quoted 7 lines
xen/common/sched_credit2.c csched2_runtime(const struct scheduler *ops, int cpu, · line 2440
Quoted 1 line
xen/common/sched_credit2.c +0
-1-void __dump_execstate (void *unused);All fine, except the function wasn't static (or else the compiler would
have warned about there not being a definition), so perhaps the subject wants to say "undefined function declaration" or some such.
Quoted 7 lines
Right, of course it's not... sorry. What I was aiming was to somehow reinforce the fact that it's only present in this file, but that's not really necessary, and 'static' was very wrong a word for that.
I'd be fine with a subject line like:
"xen: credit: remove undefined declaration of
__dump_execstate()"
Fine with me (with s/credit/credit2/), and I'm fine without resend, but in the end it's George to judge (unless he gives his ack, deferring to me to adjust and apply).
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel