lkml.org 
[lkml]   [2013]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2013-09-18 23:21    [W:4.116 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site