Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp111788pxb; Mon, 25 Apr 2022 06:48:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpGr7ecwVza8Szp0wPl/9TLh00aDoqEfQGdPIJmJefXXNefZ+xBXMWo30zcG4OTcy9tfNy X-Received: by 2002:a17:90a:9bc6:b0:1d8:2d8e:1b97 with SMTP id b6-20020a17090a9bc600b001d82d8e1b97mr18720881pjw.45.1650894521659; Mon, 25 Apr 2022 06:48:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650894521; cv=none; d=google.com; s=arc-20160816; b=bpeI8I+OyWPi6nolauMMcWOuX5z4eIVCkAHh/ed1J/+1cDKe4ClvkVMQgOeqza5qQI ff/LFXJbcwBMFBQAD+wvmDL54X+m/q74E0Dfzml/+AMUob4Z65cKZcVdVMR1kBlHYK7S Ei9f0sP49ex56L+3dW85Df+LnPEnQb0Px0cTEjcr5iZUUXoopThA8Rx2ir3Yh5vIbndg dFEpIUipTx4l/YYLtqfRX9tRZq42QePSQjkSq73RhFkCYzhSHqcl/kIRSvE0INRIEHwM koPSqLjXrh5vNxnGbi379A2uqhYfdM/ZjwHfy0He2hsWqElB3WlCE+ld12o6edAQb4AA qvfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=j330GBgmZ+lAD6Le5bC8sRQ+GBuSvZYXOfHfV/pptk0=; b=OCaFBf0va8pmVxRZkEXEkLbGDfhlBPTSzi8KZByM+Yu6yIMl/fd1cfadJeeezdWLrn pmhuzVURNyOouAQeRUP3BH8uNareLlLj2DwD2Qol9p07IRJQ4vp3Mmk9bPRBBJhSc4rl t2zHQJTusEZHnCrH+eCxsT/YbqeV9TNaRkB9RJ7dIuinRXLDKFW5jUbztCNXAGeB6RXS qenXwDUDM7P+bPHVZLNXQFpmf9VbwYeYNgTTXK9jbk/rSE20dyGS+0b2HPcIRX1HqDJi MqFqq9kJVKneNucOH2a5KQCuId566HvvoIIyhtS7iezh4h1yfvIK1Y6VOpCmBoHuT50j Ht8w== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h63-20020a638342000000b003aa90e6d50bsi3296775pge.45.2022.04.25.06.48.24; Mon, 25 Apr 2022 06:48:41 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241339AbiDYGEe (ORCPT + 99 others); Mon, 25 Apr 2022 02:04:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241404AbiDYGDR (ORCPT ); Mon, 25 Apr 2022 02:03:17 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B6F39167; Sun, 24 Apr 2022 23:00:08 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4KmvTt4W7hzfb5H; Mon, 25 Apr 2022 13:59:14 +0800 (CST) Received: from dggpemm500007.china.huawei.com (7.185.36.183) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 25 Apr 2022 14:00:06 +0800 Received: from [10.174.178.174] (10.174.178.174) by dggpemm500007.china.huawei.com (7.185.36.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Mon, 25 Apr 2022 14:00:05 +0800 Subject: Re: [PATCH -next] ata: palmld: fix return value check in palmld_pata_probe() To: Sergey Shtylyov , , CC: , , , References: <20220424093420.2129779-1-yangyingliang@huawei.com> <24916b73-15dc-1ab7-7d5d-532d177fecec@omp.ru> From: Yang Yingliang Message-ID: <15e09c18-792b-931c-11c7-5ef284490eba@huawei.com> Date: Mon, 25 Apr 2022 14:00:04 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <24916b73-15dc-1ab7-7d5d-532d177fecec@omp.ru> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.178.174] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500007.china.huawei.com (7.185.36.183) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 On 2022/4/25 0:55, Sergey Shtylyov wrote: > Hello! > > You should CC: me on the PATA driver patches, not Bart -- he no longer maintains > the PATA drivers. OK. Thanks, Yang > > 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 > .