[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1246036442.663.47.camel@macbook.infradead.org>
Date: Fri, 26 Jun 2009 18:14:02 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: vimal singh <vimalsingh@...com>
Cc: "tom.leiming@...il.com" <tom.leiming@...il.com>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"david-b@...bell.net" <david-b@...bell.net>
Subject: Re: [PATCH][MTD][NAND]: fix omap2.c compile failure and warning
On Fri, 2009-06-26 at 22:32 +0530, vimal singh wrote:
> Somehow I do not see below errors on compilation:
> drivers/mtd/nand/omap2.c: In function 'omap_wait':
> drivers/mtd/nand/omap2.c:543: error: 'jiffies' undeclared (first use in this
> function)
> drivers/mtd/nand/omap2.c:543: error: (Each undeclared identifier is reported
> only once
> drivers/mtd/nand/omap2.c:543: error: for each function it appears in.)
> drivers/mtd/nand/omap2.c:557: error: implicit declaration of function
> 'time_before'
>
> But still including 'linux/jiffies.h'.
>
> Below is the patch.
The 'status' you return in the case that you _have_ gone through the
loop is still wrong though, isn't it?
--
dwmw2
--
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