* [PATCH] xen: credit2: remove undefined static function __dump_execstate().
@ 2017-03-09 9:54 Dario Faggioli
2017-03-09 10:09 ` Jan Beulich
0 siblings, 1 reply; 4+ messages in thread
From: Dario Faggioli @ 2017-03-09 9:54 UTC (permalink / raw)
To: xen-devel; +Cc: George Dunlap
Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
---
Cc: George Dunlap <george.dunlap@citrix.com>
---
xen/common/sched_credit2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c
index af457c1..bb1c657 100644
--- a/xen/common/sched_credit2.c
+++ b/xen/common/sched_credit2.c
@@ -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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] xen: credit2: remove undefined static function __dump_execstate().
2017-03-09 9:54 [PATCH] xen: credit2: remove undefined static function __dump_execstate() Dario Faggioli
@ 2017-03-09 10:09 ` Jan Beulich
2017-03-09 10:36 ` Dario Faggioli
0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2017-03-09 10:09 UTC (permalink / raw)
To: Dario Faggioli; +Cc: xen-devel, George Dunlap
>>> On 09.03.17 at 10:54, <dario.faggioli@citrix.com> wrote:
> --- a/xen/common/sched_credit2.c
> +++ b/xen/common/sched_credit2.c
> @@ -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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] xen: credit2: remove undefined static function __dump_execstate().
2017-03-09 10:09 ` Jan Beulich
@ 2017-03-09 10:36 ` Dario Faggioli
2017-03-09 10:48 ` Jan Beulich
0 siblings, 1 reply; 4+ messages in thread
From: Dario Faggioli @ 2017-03-09 10:36 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel, George Dunlap
[-- Attachment #1.1: Type: text/plain, Size: 1373 bytes --]
On Thu, 2017-03-09 at 03:09 -0700, Jan Beulich wrote:
> > > > On 09.03.17 at 10:54, <dario.faggioli@citrix.com> wrote:
> >
> > --- a/xen/common/sched_credit2.c
> > +++ b/xen/common/sched_credit2.c
> > @@ -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
--
<<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)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] xen: credit2: remove undefined static function __dump_execstate().
2017-03-09 10:36 ` Dario Faggioli
@ 2017-03-09 10:48 ` Jan Beulich
0 siblings, 0 replies; 4+ messages in thread
From: Jan Beulich @ 2017-03-09 10:48 UTC (permalink / raw)
To: Dario Faggioli; +Cc: xen-devel, George Dunlap
>>> On 09.03.17 at 11:36, <dario.faggioli@citrix.com> wrote:
> On Thu, 2017-03-09 at 03:09 -0700, Jan Beulich wrote:
>> > > > On 09.03.17 at 10:54, <dario.faggioli@citrix.com> wrote:
>> >
>> > --- a/xen/common/sched_credit2.c
>> > +++ b/xen/common/sched_credit2.c
>> > @@ -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()"
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
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-09 10:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 9:54 [PATCH] xen: credit2: remove undefined static function __dump_execstate() Dario Faggioli
2017-03-09 10:09 ` Jan Beulich
2017-03-09 10:36 ` Dario Faggioli
2017-03-09 10:48 ` Jan Beulich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.