[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121219151154.937EC3E0AD7@localhost>
Date: Wed, 19 Dec 2012 15:11:54 +0000
From: Grant Likely <grant.likely@...retlab.ca>
To: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Cyril Roelandt <tipecaml@...il.com>
Cc: spi-devel-general@...ts.sourceforge.net,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] spi: fix return value check in hspi_probe().
On Tue, 11 Dec 2012 16:36:27 -0800 (PST), Kuninori Morimoto <kuninori.morimoto.gx@...esas.com> wrote:
>
> Hi
>
> > According to its documentation, clk_get() returns a "valid IS_ERR() condition
> > containing errno", so we should call IS_ERR() rather than a NULL check.
> >
> > Signed-off-by: Cyril Roelandt <tipecaml@...il.com>
>
> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Applied, thanks.
g.
--
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