Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02940C433EF for ; Mon, 27 Dec 2021 20:03:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232586AbhL0UDc (ORCPT ); Mon, 27 Dec 2021 15:03:32 -0500 Received: from mxout01.lancloud.ru ([45.84.86.81]:49958 "EHLO mxout01.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230053AbhL0UDb (ORCPT ); Mon, 27 Dec 2021 15:03:31 -0500 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout01.lancloud.ru 1AAB6209D13C Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH v3 05/10] ata: pata_platform: Drop checking IRQ number To: Lad Prabhakar , Damien Le Moal CC: Rob Herring , , Prabhakar , References: <20211224131300.18198-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20211224131300.18198-6-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: <2b19d991-bcf5-eb3e-0956-56b46b0790c5@omp.ru> Date: Mon, 27 Dec 2021 23:03:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20211224131300.18198-6-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/24/21 4:12 PM, Lad Prabhakar wrote: > The callers of __pata_platform_probe() will pass the IRQ resource only for > valid IRQ's, for invalid IRQ's the IRQ resource will always be NULL. So > drop checking the IRQ number. > > Signed-off-by: Lad Prabhakar Reviewed-by: Sergey Shtylyov [...] MBR, Sergey