Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2306182pxb; Sun, 24 Apr 2022 10:28:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztUYSdKYMaYYrN/6awojFMJPXFsDcfH155EjzgaHuOL8dDErr7XhjgfurVUXq2e+B0qcVo X-Received: by 2002:a63:4c52:0:b0:398:db25:d2b8 with SMTP id m18-20020a634c52000000b00398db25d2b8mr12241890pgl.432.1650821322624; Sun, 24 Apr 2022 10:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650821322; cv=none; d=google.com; s=arc-20160816; b=yz6GbwjXHPew+ijbxWvwixmfoLrZkGq4BZzKrvbhy5+5RJ+rpJ2h/M4YRPC60qWzLt TEpAwMlZ/JcpH+//i6F9EIjiTD63sjaPlh7ZXnQNHXBwRfjLwl31ZmU8B/VoFRGHfcFZ LYccj54O5AeKl9lT92gffHvEQ/ITQwydCnpMyv7XDXZPTh4VhXB23mKycYGlKJZwb+sA yWVAQeQfbv/1aY3hJuMfppIPC+dgo+bcl3NVHXrSTO65KZj2uAeuNpqRa96YSuFHzJOg pI/asAfNilM37udsxV1joDUhjHdRt49MDTAJz1Rkd5NFyZwtoE1ZlceMGPKlAEYLrl6l 5JCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-filter; bh=E89eyu/gSEUWGMBQg/Nqzp5fZm/B+fNocNYwv+hJoXw=; b=J+aVQpu+m6GqpAxK7/58CNmP0ZrXp+l88dlqJk3p4R4YhYfwdTRXVHKcDd4dsLUCgd 5GLDlMLCFnRxinHikHAfKK3l2IzII0b38GQfNPGkjLVP+KPFBQ4RLA0/OFlKEAIAmOe9 v0DeA2FXweQ/yRgjue56THQGsDc7fcQGuNLzZLJSkHhdkFzYWjW7BBGTEYMrHdS0SpSN Y0xkH1x3g+mZCWRTX6CqwJJw3Vg+SBCoEMQW2rSfC/QoC08pPPlqZLvSlx/AbVlU7DrE TaPae1eSzzYe8bhuyEIip47j/qf/HNzMFKGn4Sjb1YihKrXY/NTlOq67xMBGCXIXttFu lscQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w21-20020a1709027b9500b00158d6dbbfc2si12574076pll.145.2022.04.24.10.28.26; Sun, 24 Apr 2022 10:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236291AbiDXQ6a (ORCPT + 99 others); Sun, 24 Apr 2022 12:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236133AbiDXQ6U (ORCPT ); Sun, 24 Apr 2022 12:58:20 -0400 Received: from mxout04.lancloud.ru (mxout04.lancloud.ru [45.84.86.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5245513D55; Sun, 24 Apr 2022 09:55:15 -0700 (PDT) Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru 20BF5209D7EB Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH -next] ata: palmld: fix return value check in palmld_pata_probe() To: Yang Yingliang , , CC: , , , References: <20220424093420.2129779-1-yangyingliang@huawei.com> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: <24916b73-15dc-1ab7-7d5d-532d177fecec@omp.ru> Date: Sun, 24 Apr 2022 19:55:11 +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: <20220424093420.2129779-1-yangyingliang@huawei.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: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1907.lancloud.ru (fd00:f066::207) X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! You should CC: me on the PATA driver patches, not Bart -- he no longer maintains the PATA drivers. On 4/24/22 12:34 PM, Yang Yingliang wrote: > If devm_platform_ioremap_resource() fails, it never return > NULL pointer, replace the check with IS_ERR(). > > Fixes: 57bf0f5a162d ("ARM: pxa: use pdev resource for palmld mmio") > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang [...] Reviewed-by: Sergey Shtylyov MBR, Sergey