xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xsplice: Missing if ( sec )
@ 2016-05-02 13:05 Konrad Rzeszutek Wilk
  2016-05-02 13:09 ` Wei Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-05-02 13:05 UTC (permalink / raw)
  To: xen-devel, konrad
  Cc: Andrew Cooper, Wei Liu, Jan Beulich, Konrad Rzeszutek Wilk

Add the missing conditional.

Reported-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

---
This has been in there since v3 posting! And I really need to finish
with the OSSTest regression tests to catch this.

Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---
 xen/common/xsplice.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/common/xsplice.c b/xen/common/xsplice.c
index 777faa7..c9fc53a 100644
--- a/xen/common/xsplice.c
+++ b/xen/common/xsplice.c
@@ -548,6 +548,7 @@ static int prepare_payload(struct payload *payload,
     }
 
     sec = xsplice_elf_sec_by_name(elf, ELF_XSPLICE_DEPENDS);
+    if ( sec )
     {
         n = sec->load_addr;
 
-- 
2.5.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH] xsplice: Missing if ( sec )
  2016-05-02 13:05 [PATCH] xsplice: Missing if ( sec ) Konrad Rzeszutek Wilk
@ 2016-05-02 13:09 ` Wei Liu
  2016-05-02 13:15   ` Jan Beulich
  2016-05-02 13:15   ` Wei Liu
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Liu @ 2016-05-02 13:09 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, Andrew Cooper, Wei Liu, Jan Beulich

On Mon, May 02, 2016 at 09:05:34AM -0400, Konrad Rzeszutek Wilk wrote:
> Add the missing conditional.
> 
> Reported-by: Jan Beulich <JBeulich@suse.com>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> 

FWIW:

Reviewed-by: Wei Liu <wei.liu2@citrix.com>

And subject to ack from HV maintainer:

Release-acked-by: Wei Liu <wei.liu2@citrix.com>

> ---
> This has been in there since v3 posting! And I really need to finish
> with the OSSTest regression tests to catch this.
> 
> Cc: Andrew Cooper <andrew.cooper3@citrix.com>
> Cc: Jan Beulich <jbeulich@suse.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> ---
>  xen/common/xsplice.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/xen/common/xsplice.c b/xen/common/xsplice.c
> index 777faa7..c9fc53a 100644
> --- a/xen/common/xsplice.c
> +++ b/xen/common/xsplice.c
> @@ -548,6 +548,7 @@ static int prepare_payload(struct payload *payload,
>      }
>  
>      sec = xsplice_elf_sec_by_name(elf, ELF_XSPLICE_DEPENDS);
> +    if ( sec )
>      {
>          n = sec->load_addr;
>  
> -- 
> 2.5.0
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH] xsplice: Missing if ( sec )
  2016-05-02 13:09 ` Wei Liu
@ 2016-05-02 13:15   ` Jan Beulich
  2016-05-02 13:15   ` Wei Liu
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Beulich @ 2016-05-02 13:15 UTC (permalink / raw)
  To: Wei Liu, Konrad Rzeszutek Wilk; +Cc: Andrew Cooper, xen-devel

>>> On 02.05.16 at 15:09, <wei.liu2@citrix.com> wrote:
> On Mon, May 02, 2016 at 09:05:34AM -0400, Konrad Rzeszutek Wilk wrote:
>> Add the missing conditional.
>> 
>> Reported-by: Jan Beulich <JBeulich@suse.com>
>> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>> 
> 
> FWIW:
> 
> Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> 
> And subject to ack from HV maintainer:
> 
> Release-acked-by: Wei Liu <wei.liu2@citrix.com>

A think the ack can basically be implied from the Reported-by above;
Konrad - feel free.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH] xsplice: Missing if ( sec )
  2016-05-02 13:09 ` Wei Liu
  2016-05-02 13:15   ` Jan Beulich
@ 2016-05-02 13:15   ` Wei Liu
  1 sibling, 0 replies; 4+ messages in thread
From: Wei Liu @ 2016-05-02 13:15 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel, Andrew Cooper, Wei Liu, Jan Beulich

On Mon, May 02, 2016 at 02:09:16PM +0100, Wei Liu wrote:
> On Mon, May 02, 2016 at 09:05:34AM -0400, Konrad Rzeszutek Wilk wrote:
> > Add the missing conditional.
> > 
> > Reported-by: Jan Beulich <JBeulich@suse.com>
> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> > 
> 
> FWIW:
> 
> Reviewed-by: Wei Liu <wei.liu2@citrix.com>
> 
> And subject to ack from HV maintainer:
> 
> Release-acked-by: Wei Liu <wei.liu2@citrix.com>
> 

I would like to have Ack from Jan, Andrew or Ross if possible. But this
bug is so trivial so whether they ack it or not my release ack stands.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2016-05-02 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02 13:05 [PATCH] xsplice: Missing if ( sec ) Konrad Rzeszutek Wilk
2016-05-02 13:09 ` Wei Liu
2016-05-02 13:15   ` Jan Beulich
2016-05-02 13:15   ` Wei Liu

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).