From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753164AbcD2JYv (ORCPT ); Fri, 29 Apr 2016 05:24:51 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:35112 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbcD2JYs (ORCPT ); Fri, 29 Apr 2016 05:24:48 -0400 Subject: Re: [PATCH] tty: serial, return values platform_get_irq, part II. To: gregkh@linuxfoundation.org References: <1461921721-30169-1-git-send-email-jslaby@suse.cz> Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Peter Korsgaard , Michal Simek , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= , linux-arm-kernel@lists.infradead.org, Russell King - ARM Linux From: Jiri Slaby Message-ID: <5723285C.3080008@suse.cz> Date: Fri, 29 Apr 2016 11:24:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1461921721-30169-1-git-send-email-jslaby@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/29/2016, 11:22 AM, Jiri Slaby wrote: > When commit "TTY: serial, handle platform_get_irq retval properly" was > merged, it was pointed out, that platform_get_irq is more peculiar > than it seems. > > platform_get_irq can actually return zero for some platforms. So > reverts parts of the aforementioned commits which did the worng thing > on those platforms. Given I double checked the code, I should do so for the commit message too. Please scratch this one due to the commit message. thanks, -- js suse labs