[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130918205025.GC30568@blackmetal.musicnaut.iki.fi>
Date: Wed, 18 Sep 2013 23:50:25 +0300
From: Aaro Koskinen <aaro.koskinen@....fi>
To: Pali Rohár <pali.rohar@...il.com>
Cc: Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Tony Lindgren <tony@...mide.com>,
Russell King <linux@....linux.org.uk>,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
Juha Yrjola <juha.yrjola@...idboot.com>
Subject: Re: [PATCH 1/2] hwrng: OMAP3 ROM Random Number Generator support
Hi,
On Wed, Sep 18, 2013 at 10:05:56PM +0200, Pali Rohár wrote:
> + if (IS_ERR(rng_clk)) {
> + printk(KERN_ERR "%s: unable to get RNG clock\n",
> + omap3_rom_rng_name);
> + return IS_ERR(rng_clk);
This should be PTR_ERR().
A.
--
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