outb|inb warnings patch

joerg at britannica.bec.de joerg at britannica.bec.de
Wed Jan 18 11:56:24 PST 2006


On Wed, Jan 18, 2006 at 08:52:27PM +0300, Alexey Slynko wrote:
> Hi,
> 
> this patch fix warnings produced by macros like outb (see the comment to 
> outb macro in sys/i386/include/cpufunc.h)

Please don't do this, this warnings are a good reminder that the code is
archaic and MUST be converted to newbus. Beside that is this fix
incorrect since ports are 16bit integers, aka shorts. The choosen type
is perfectly valid.

Joerg





More information about the Submit mailing list