[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090221.002735.27955033.anemo@mba.ocn.ne.jp>
Date: Sat, 21 Feb 2009 00:27:35 +0900 (JST)
From: Atsushi Nemoto <anemo@....ocn.ne.jp>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, ralf@...ux-mips.org,
jason.wessel@...driver.com
Subject: Re: [PATCH resend] kgdb: kgdboc console poll hooks for serial_txx9
uart
On Thu, 19 Feb 2009 13:17:58 -0800, Andrew Morton <akpm@...ux-foundation.org> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists