Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234163

Re: [Xen-devel] [PATCH] xen: use correct type for HYPERVISOR_memory_op()

From David Vrabel <david.vrabel@citrix.com>
Newsgroups linux.kernel
Subject Re: [Xen-devel] [PATCH] xen: use correct type for HYPERVISOR_memory_op()
Date 2015-09-28 15:40 +0200
Message-ID <qdGOV-Rc-49@gated-at.bofh.it> (permalink)
References <q4YL0-2vD-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/09/15 13:50, Juergen Gross wrote:
> HYPERVISOR_memory_op() is defined to return an "int" value. This is
> wrong, as the Xen hypervisor will return "long".
> 
> The sub-function XENMEM_maximum_reservation returns the maximum
> number of pages for the current domain. An int will overflow for a
> domain configured with 8TB of memory or more.
> 
> Correct this by using the correct type.

Applied to for-linus-4.3, thanks.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [Xen-devel] [PATCH] xen: use correct type for HYPERVISOR_memory_op() David Vrabel <david.vrabel@citrix.com> - 2015-09-28 15:40 +0200

csiph-web