[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ioctl() numbers are unsigned (the man page lies
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH] ioctl() numbers are unsigned (the man page lies) |
Date: |
Thu, 9 Feb 2012 20:58:23 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 09, 2012 at 09:30:09AM +0100, Jan Kiszka wrote:
> Looks like the subject would warmly welcome a "kvm:" tag.
>
> On 2012-02-09 05:22, David Gibson wrote:
[snip]
>
> What about naming the problem instead:
>
> /* Comparison with IOCTL macros on 32-bit hosts requires unsigned. */
Just once, it would be nice to post something to this list and get a
substantive comment _before_ the bitching about minutiae.
Oh, and it's not just 32-bit hosts, it's anywhere sizeof(int)==4,
which includes ppc64 amongst other 64-bit hosts.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: Digital signature