[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110124201447.GA31162@albatros>
Date: Mon, 24 Jan 2011 23:14:48 +0300
From: Vasiliy Kulikov <segooon@...il.com>
To: Julia Lawall <julia@...u.dk>
Cc: Ryan Mallon <ryan@...ewatersys.com>,
Russell King <linux@....linux.org.uk>,
kernel-janitors@...r.kernel.org,
Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>,
Andrew Victor <linux@...im.org.za>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] arch/arm/mach-at91/clock.c: Add missing IS_ERR test
On Mon, Jan 24, 2011 at 21:09 +0100, Julia Lawall wrote:
> On Mon, 24 Jan 2011, Vasiliy Kulikov wrote:
> > clk_get() is defined per-architecture, sometimes it is NULL only.
>
> In this case there is a definition in the same file, so it doesn't seem
> necessary to worry about possible other ones. Unless there is some goal
> in the future to remove the local one?
My oppinion is that even such architecture dependent code written in
architecure indepenent way is highly desirable. Besides more clean code
it is probably review by smaller group of people, so it is potentially
more buggy.
Thanks,
--
Vasiliy
--
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