[PATCH] Fix compile warnings in virtio_balloon

Anthony Liguori
Thu, 24 Jan 2008 14:14:27 -0000

Anthony Liguori wrote:
> On x86_64, min was throwing a warning.  ARRAY_SIZE is unsigned long so
let's
> switch to using that for num.
>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>

Okay, that just changed the warning to occur on i386.  Please use the
attached patch instead which just casts within the min macro.

Regards,

Anthony Liguori

-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtio:balloon_min.diff
Type: text/x-patch
Size: 1239 bytes
Desc: not available