Re: [Xen-devel] [MINOR FIXES 2/2] lowmemd: fix comparison in cleanup

2017-02-20 Thread Norbert Manthey
, Norbert Manthey wrote: The variable virq_port of type uint32_t was compared to being greater than -1. This check always results in false for unsigned data types, resulting in never cleaning up the memory. Furthermore, the initialization with a negative variable for an unsigned type has been fixed

[Xen-devel] [MINOR FIXES 1/2] mm: fix memory cleanup

2017-02-17 Thread Norbert Manthey
ize by using the shift operator instead. Signed-off-by: Norbert Manthey <nmant...@amazon.com> --- xen/arch/x86/x86_64/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c index 9ead02e..52f2bd5 100644 --- a/xen/arch/x

[Xen-devel] (no subject)

2017-02-17 Thread Norbert Manthey
Dear Xen developers, I would like to bring the attached two patches online, as they fix minor defects in the upstream code base. Best, Norbert ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] [MINOR FIXES 2/2] lowmemd: fix comparison in cleanup

2017-02-17 Thread Norbert Manthey
-by: Norbert Manthey <nmant...@amazon.com> --- tools/misc/xen-lowmemd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/misc/xen-lowmemd.c b/tools/misc/xen-lowmemd.c index 3200404..865a54c 100644 --- a/tools/misc/xen-lowmemd.c +++ b/tools/misc/xen-lowmemd.c @@ -10,14