Re: [PATCH resend] kgdb: kgdboc console poll hooks for serial_txx9uart
From: Atsushi Nemoto
Date: Fri Feb 20 2009 - 10:27:49 EST
On Thu, 19 Feb 2009 13:17:58 -0800, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > + struct uart_txx9_port *up = (struct uart_txx9_port *)port;
>
> It's nicer to use container_of() for this operation.
While there are same casts in the driver already, I will send another
patch to convert them at once.
Thank you.
--
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/