Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp379560pxb; Wed, 13 Jan 2021 06:08:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJz23N6jSHehUTW+A1OdC1l5Ln2A8tvcIJ95cLtzSuF08Lv5d+ydRVLMjH0JyuNebm9aiyLD X-Received: by 2002:a05:6402:541:: with SMTP id i1mr1950304edx.289.1610546895105; Wed, 13 Jan 2021 06:08:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610546895; cv=none; d=google.com; s=arc-20160816; b=Yz6LROp8Kbc66UOhbkEdXSsndLRSrKFnVIieNDteDBqGLZavqHr0PNA/49QQ3oRG++ OKVVEDjLs3ydYV4Fvm0DK5weYOIPvDxKwwd2zU4IOZC3RqvQANMRmMsx1B6CaXEZyB5Q sZGNqDuxr8wnmkUJtZScbIHNYLTO/RC4Mv+PV2FahzUMbXN+CuRM2rHCHKlH15KEAfV8 ncC297NvPcZC661DpZWYE+/oZpnx/jn5ttSHbRekPDfRUCpj7GeX3rcRzQogagPGco8m HT3kWTgeFOVXOcAomWuThy36535edHhcl+K+SZRzmYFtdDwPf4bYsEiPdbmqcCTZaRwO q3Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=I+4E+lnq7Lfrarj+nkHQ8tPsDebXBBkHafUd9ovjkRs=; b=ICJVokTKol4rrSOLS8TbpBl3zTv1UpmPx/+l+7PQ/2MRwN+eHV/mHenCZq9ucdXz8C 5jSoXRYVJnbaN5C/AzxSzficIPiASrp2oQJ2FfJgxj7YyGXyRfE01Lzq94O8OaQM8q0Z IvaenVbkWTjwuBZpMNAD9sq3uSLD/rywBl2IPke79Hd/L2g6946bFcDQ9JxmQP8OphYD EljwtFGTHsji0QmtJudMD5xpweLNO7R+ZDWeWMpmUpxKgDIpLgHCvXKSVwSIVhuLF2cH 7gLjGIL7KLwAwtRfaTUuE8HIbF9BBK22sEta2lCjCX+La95Du3WF9B7G39t8bovEse3g J9vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jz6tULJl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si1092540ejk.668.2021.01.13.06.07.44; Wed, 13 Jan 2021 06:08:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jz6tULJl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726602AbhAMOFw (ORCPT + 99 others); Wed, 13 Jan 2021 09:05:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726543AbhAMOFw (ORCPT ); Wed, 13 Jan 2021 09:05:52 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C7F8C061575; Wed, 13 Jan 2021 06:05:09 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id b10so2665403ljp.6; Wed, 13 Jan 2021 06:05:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I+4E+lnq7Lfrarj+nkHQ8tPsDebXBBkHafUd9ovjkRs=; b=Jz6tULJla1sHO4zRPH4ORwFlZJSQj9rU13uptXp/ggI4hWWdaSWc7NJoLYimUwLJ9y aSGZxjF0GjFKaHrSh0ZbZ0NQQYlHt5okgvJ9hVmMNzNkAWtYYPQNa4lRCV0jl2biewxV opd07HiPO2mP3zAU0OSVGuCkruIhhCpINGqMtpl2AN9kvaT2AWK9bqulyn08wGgENTd7 Jpgf6KaD607xicTwdFmuEAEebLjT5NadgxDwuXeoDTm/59Ogw1wi0uNTBo9oX6GaL7os /A/OXKZ98SK/0iGZE9GFpEeY77NYVf8X9UNbgf2aAkGdeJs0fV2ECJQwagKb6EdLkIx2 13mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I+4E+lnq7Lfrarj+nkHQ8tPsDebXBBkHafUd9ovjkRs=; b=RW29rl72V5dmhCUgnvkEiyNAN3XONxCGCpXmisRZZXp4A9wy0PfXmGJNKDCdUMN6XA 99HH0Rv3QHldP+lhR/GuHL9VHUv2omWuFRzFqz/53BBrq+llBg5iCTzq/bJ2L+xiHEkY ctbh1f6KXTffHSCSHvWiRHwG8vFT8a0Fgm/cOznB7uDxiplX/7bGSYLeWkLT+sPNhCtb QtBEVJ2rz0TE56Nlolo2D6qW2Q/eM+9MDLhLB0L787sC8uckiLY0XntNPmgEKqsSLIzt FDOKt8Y18zg174nEDLRkqtg+VteGJQZCccGE3G90LFw+suTN3kiRllMlepYZ3YmHc2Xu fihg== X-Gm-Message-State: AOAM532Gz8N03zUW2kejyA5RBB4wfiyciYuXXf40uhOf+GZTouSM6emf U45mMOn/aCEu/OHxQr5Y+aiQQ84YfaiDcDpBZos= X-Received: by 2002:a05:651c:1129:: with SMTP id e9mr977294ljo.135.1610546708226; Wed, 13 Jan 2021 06:05:08 -0800 (PST) MIME-Version: 1.0 References: <20210112023619.5713-1-dong.menglong@zte.com.cn> <33bb1cd2-c202-0fd5-733d-b44e7e8fa92c@gmail.com> In-Reply-To: <33bb1cd2-c202-0fd5-733d-b44e7e8fa92c@gmail.com> From: Menglong Dong Date: Wed, 13 Jan 2021 22:04:57 +0800 Message-ID: Subject: Re: [PATCH] ata: remove redundant error print in rb532_pata_driver_probe To: Sergei Shtylyov , axboe@kernel.dk Cc: linux-ide@vger.kernel.org, LKML , Menglong Dong Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Sergei On Tue, Jan 12, 2021 at 7:15 PM Sergei Shtylyov wrote: > > Hello! > > On 1/12/21 5:36 AM, menglong8.dong@gmail.com wrote: > [....] > > irq = platform_get_irq(pdev, 0); > > - if (irq <= 0) { > > - dev_err(&pdev->dev, "no IRQ resource found\n"); > > + if (irq <= 0) > > return -ENOENT; > > This still beaks the probe deferral. :-( > But that's another problem... > > [...] > > MBR, Sergei What does this 'MBR' mean? I am a novice~~~ So, is it better to replace 'platform_get_irq' with 'platform_get_irq_optional' here? -- Best Regards Menglong Dong