qemu-devel
[Top][All Lists]
Advanced

[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: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] ioctl() numbers are unsigned (the man page lies)
Date: Thu, 9 Feb 2012 12:07:50 +0000
User-agent: KMail/1.13.7 (Linux/3.1.0-1-amd64; KDE/4.6.5; x86_64; ; )

> >> 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.
> 
> Then state "if int is 32 bits". The comment is unfortunately not helpful
> without the commit log.

Int is 32 bits on every host we're ever likey to care about, so clearly 
there's something else going on.

Paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]