Re: [Lse-tech] Re: 2.6.0-test9-mjb1

From: Jeff Garzik
Date: Thu Oct 30 2003 - 16:39:12 EST


Dave Hansen wrote:
On Thu, 2003-10-30 at 13:17, Jeff Garzik wrote:

well, there's still this patch...
void
-e1000_io_write(struct e1000_hw *hw, uint32_t port, uint32_t value)
+e1000_io_write(struct e1000_hw *hw, unsigned long port, uint32_t value)
{
outl(value, port);
}


Whoops. I just went looking in the breakout directory and didn't see it
in there. I wonder where it was hidden.

Anton, did this come from you? Did it stop some warnings or something?

"stop some warnings"? ;) It's obviously correct -- a port address _must_ be unsigned long. Anything less is uncivilized (and a bug).

Jeff



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