From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH] sata_fsl: fix error handling of irq_of_parse_and_map Date: Tue, 2 Dec 2014 13:00:37 -0500 Message-ID: <20141202180037.GG10918@htj.dyndns.org> References: <20141114213905.GA25228@dtor-ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-qa0-f51.google.com ([209.85.216.51]:52463 "EHLO mail-qa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751916AbaLBSAl (ORCPT ); Tue, 2 Dec 2014 13:00:41 -0500 Content-Disposition: inline In-Reply-To: <20141114213905.GA25228@dtor-ws> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Dmitry Torokhov Cc: Bartlomiej Zolnierkiewicz , Wolfram Sang , Joe Perches , Paul Bolle , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, Nov 14, 2014 at 01:39:05PM -0800, Dmitry Torokhov wrote: > irq_of_parse_and_map() returns 0 on error (the result is unsigned int), > so testing for negative result never works. > > Signed-off-by: Dmitry Torokhov Sorry about the delay. Applied to libata/for-3.18-fixes w/ stable cc'd. Thanks. -- tejun