Messages in this thread | | | Date | Wed, 18 Sep 2013 23:50:25 +0300 | From | Aaro Koskinen <> | 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |