From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <51A5BAB8.7000906@linaro.org> Date: Wed, 29 May 2013 10:22:16 +0200 From: Daniel Lezcano MIME-Version: 1.0 To: Baruch Siach CC: John Stultz , Thomas Gleixner , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] clocksource: dw_apb: fix error check References: <90d7cc35674bf04806531eb2e9836fdc382868d9.1369655478.git.baruch@tkos.co.il> In-Reply-To: <90d7cc35674bf04806531eb2e9836fdc382868d9.1369655478.git.baruch@tkos.co.il> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 05/27/2013 01:51 PM, Baruch Siach wrote: > irq_of_parse_and_map() returns 0 on error, while the code checks for NO_IRQ. > This breaks on platforms that have NO_IRQ != 0. > > Cc: > Signed-off-by: Baruch Siach > --- I queued the patch in my tree [1] for 3.11 Thanks -- Daniel [1] https://git.linaro.org/gitweb?p=people/dlezcano/clockevents.git;a=shortlog;h=refs/heads/timers/clockevents -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog