xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen: 'keyhandler' is not used in null scheduler
@ 2019-05-30  5:47 Baodong Chen
  2019-05-30  5:47 ` [Xen-devel] " Baodong Chen
  2019-05-30  9:05 ` George Dunlap
  0 siblings, 2 replies; 6+ messages in thread
From: Baodong Chen @ 2019-05-30  5:47 UTC (permalink / raw)
  To: xen-devel; +Cc: Baodong Chen, George Dunlap, Dario Faggioli

So remove 'keyhandler.h' include.
Also add 'static' prefix for 'schud_bull_def'

Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>
---
 xen/common/sched_null.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/common/sched_null.c b/xen/common/sched_null.c
index a59dbb2..c9700f1 100644
--- a/xen/common/sched_null.c
+++ b/xen/common/sched_null.c
@@ -31,7 +31,6 @@
 #include <xen/sched.h>
 #include <xen/sched-if.h>
 #include <xen/softirq.h>
-#include <xen/keyhandler.h>
 #include <xen/trace.h>
 
 /*
@@ -871,7 +870,7 @@ static void null_dump(const struct scheduler *ops)
     spin_unlock_irqrestore(&prv->lock, flags);
 }
 
-const struct scheduler sched_null_def = {
+static const struct scheduler sched_null_def = {
     .name           = "null Scheduler",
     .opt_name       = "null",
     .sched_id       = XEN_SCHEDULER_NULL,
-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Xen-devel] [PATCH] xen: 'keyhandler' is not used in null scheduler
  2019-05-30  5:47 [PATCH] xen: 'keyhandler' is not used in null scheduler Baodong Chen
@ 2019-05-30  5:47 ` Baodong Chen
  2019-05-30  9:05 ` George Dunlap
  1 sibling, 0 replies; 6+ messages in thread
From: Baodong Chen @ 2019-05-30  5:47 UTC (permalink / raw)
  To: xen-devel; +Cc: Baodong Chen, George Dunlap, Dario Faggioli

So remove 'keyhandler.h' include.
Also add 'static' prefix for 'schud_bull_def'

Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>
---
 xen/common/sched_null.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/common/sched_null.c b/xen/common/sched_null.c
index a59dbb2..c9700f1 100644
--- a/xen/common/sched_null.c
+++ b/xen/common/sched_null.c
@@ -31,7 +31,6 @@
 #include <xen/sched.h>
 #include <xen/sched-if.h>
 #include <xen/softirq.h>
-#include <xen/keyhandler.h>
 #include <xen/trace.h>
 
 /*
@@ -871,7 +870,7 @@ static void null_dump(const struct scheduler *ops)
     spin_unlock_irqrestore(&prv->lock, flags);
 }
 
-const struct scheduler sched_null_def = {
+static const struct scheduler sched_null_def = {
     .name           = "null Scheduler",
     .opt_name       = "null",
     .sched_id       = XEN_SCHEDULER_NULL,
-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] xen: 'keyhandler' is not used in null scheduler
  2019-05-30  5:47 [PATCH] xen: 'keyhandler' is not used in null scheduler Baodong Chen
  2019-05-30  5:47 ` [Xen-devel] " Baodong Chen
@ 2019-05-30  9:05 ` George Dunlap
  2019-05-30  9:05   ` [Xen-devel] " George Dunlap
  2019-05-30  9:36   ` chenbaodong
  1 sibling, 2 replies; 6+ messages in thread
From: George Dunlap @ 2019-05-30  9:05 UTC (permalink / raw)
  To: Baodong Chen; +Cc: Xen-devel, George Dunlap, Dario Faggioli


> On May 30, 2019, at 6:47 AM, Baodong Chen <chenbaodong@mxnavi.com> wrote:
> 
> So remove 'keyhandler.h' include.
> Also add 'static' prefix for 'schud_bull_def'
> 
> Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>

Thanks for the patch — these changes look good.  I think the title would be better something like:

xen/sched_null: Superficial clean-ups

Then just list both in bullet points; something like:

* Remove unused dependency ‘keyhandler.’h
* Make sched_null_def static

Would you mind re-sending the patch?  You can add:

Reviewed-by: George Dunlap <george.dunlap@citrix.com>

Thanks,
 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xen-devel] [PATCH] xen: 'keyhandler' is not used in null scheduler
  2019-05-30  9:05 ` George Dunlap
@ 2019-05-30  9:05   ` George Dunlap
  2019-05-30  9:36   ` chenbaodong
  1 sibling, 0 replies; 6+ messages in thread
From: George Dunlap @ 2019-05-30  9:05 UTC (permalink / raw)
  To: Baodong Chen; +Cc: Xen-devel, George Dunlap, Dario Faggioli


> On May 30, 2019, at 6:47 AM, Baodong Chen <chenbaodong@mxnavi.com> wrote:
> 
> So remove 'keyhandler.h' include.
> Also add 'static' prefix for 'schud_bull_def'
> 
> Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>

Thanks for the patch — these changes look good.  I think the title would be better something like:

xen/sched_null: Superficial clean-ups

Then just list both in bullet points; something like:

* Remove unused dependency ‘keyhandler.’h
* Make sched_null_def static

Would you mind re-sending the patch?  You can add:

Reviewed-by: George Dunlap <george.dunlap@citrix.com>

Thanks,
 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] xen: 'keyhandler' is not used in null scheduler
  2019-05-30  9:05 ` George Dunlap
  2019-05-30  9:05   ` [Xen-devel] " George Dunlap
@ 2019-05-30  9:36   ` chenbaodong
  2019-05-30  9:36     ` [Xen-devel] " chenbaodong
  1 sibling, 1 reply; 6+ messages in thread
From: chenbaodong @ 2019-05-30  9:36 UTC (permalink / raw)
  To: George Dunlap; +Cc: Xen-devel, Dario Faggioli

Hello George,

On 5/30/19 17:05, George Dunlap wrote:
>> On May 30, 2019, at 6:47 AM, Baodong Chen <chenbaodong@mxnavi.com> wrote:
>>
>> So remove 'keyhandler.h' include.
>> Also add 'static' prefix for 'schud_bull_def'
>>
>> Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>
> Thanks for the patch — these changes look good.  I think the title would be better something like:
>
> xen/sched_null: Superficial clean-ups
>
> Then just list both in bullet points; something like:
>
> * Remove unused dependency ‘keyhandler.’h
> * Make sched_null_def static
>
> Would you mind re-sending the patch?  You can add:
>
> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Thanks for your review, resent.
> Thanks,
>   -George
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xen-devel] [PATCH] xen: 'keyhandler' is not used in null scheduler
  2019-05-30  9:36   ` chenbaodong
@ 2019-05-30  9:36     ` chenbaodong
  0 siblings, 0 replies; 6+ messages in thread
From: chenbaodong @ 2019-05-30  9:36 UTC (permalink / raw)
  To: George Dunlap; +Cc: Xen-devel, Dario Faggioli

Hello George,

On 5/30/19 17:05, George Dunlap wrote:
>> On May 30, 2019, at 6:47 AM, Baodong Chen <chenbaodong@mxnavi.com> wrote:
>>
>> So remove 'keyhandler.h' include.
>> Also add 'static' prefix for 'schud_bull_def'
>>
>> Signed-off-by: Baodong Chen <chenbaodong@mxnavi.com>
> Thanks for the patch — these changes look good.  I think the title would be better something like:
>
> xen/sched_null: Superficial clean-ups
>
> Then just list both in bullet points; something like:
>
> * Remove unused dependency ‘keyhandler.’h
> * Make sched_null_def static
>
> Would you mind re-sending the patch?  You can add:
>
> Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Thanks for your review, resent.
> Thanks,
>   -George
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-30  9:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30  5:47 [PATCH] xen: 'keyhandler' is not used in null scheduler Baodong Chen
2019-05-30  5:47 ` [Xen-devel] " Baodong Chen
2019-05-30  9:05 ` George Dunlap
2019-05-30  9:05   ` [Xen-devel] " George Dunlap
2019-05-30  9:36   ` chenbaodong
2019-05-30  9:36     ` [Xen-devel] " chenbaodong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).