Re: [ patch 6/7] drivers/serial/jsm: new serial device driver

From: Christoph Hellwig
Date: Sun Feb 27 2005 - 22:24:46 EST


On Sun, Feb 27, 2005 at 07:47:58PM -0500, Jeff Garzik wrote:
> >+struct shrink_buf_struct {
> >+ unsigned int shrink_buf_vaddr; /* Virtual address of board
> >*/
> >+ unsigned int shrink_buf_phys; /* Physical address of board
> >*/
>
> Major bug. These should be unsigned long.

not sure what they actually mean, but a virtual address should be
a void * and drivers shouldn't ever mess with physical addresses.

-
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/