[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7hfu8nmk5v.fsf@baylibre.com>
Date: Wed, 06 Dec 2017 16:55:08 -0800
From: Kevin Hilman <khilman@...libre.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: ulf.hansson@...aro.org, carlo@...one.org, ben-linux@...ff.org,
adrian.hunter@...el.com, vireshk@...nel.org,
maxime.ripard@...e-electrons.com, wens@...e.org,
linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org
Subject: Re: [PATCH 1/6] mmc: meson-gx-mmc: Fix platform_get_irq's error checking
Arvind Yadav <arvind.yadav.cs@...il.com> writes:
> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
Reviewed-by: Kevin Hilman <khilman@...libre.com>
Powered by blists - more mailing lists