Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp325098pxb; Thu, 14 Jan 2021 06:57:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAJL0ZlHYE65iLgRCGOYN2ydjLg5xOWj79qiz9uzo8cQC7O+j3+zaf+XKVn9897hCzSF0K X-Received: by 2002:a17:906:af99:: with SMTP id mj25mr5730313ejb.414.1610636222638; Thu, 14 Jan 2021 06:57:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610636222; cv=none; d=google.com; s=arc-20160816; b=KTCru4DCDy0a4jfTwpqk6OorxgqDzwVej0OQAxOTNzCg+jmU5eXA993U4eZnKE/xJH 7VfM+lIxnH3aIAy7/NDSiIxJ5i2x5R5uu/CM51XtbBW4sTzuOBAvSXTBJsZPOU8Vj1mk MCHEXx81SCIh4pG2Fv0QjsUywHNP9UhWRICIx4g9i0I/8AGXws8fAMBF6skAfKDBHPT9 9kRdQ3RvAqm3hq93spNjQDqMYVWSXGGZSAw4lWZZrgp9Va8IFQ9niPv3YkxbSp5H5fzy XiuXR5IihAQilob1PB6sAO7+n+yAj3pWhvHv4mN5O2L2a1EJuf5PoG7XojX9d6ChmfnR vVcw== 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=H43AsPC1Ol3zcrpDjCexwQNmz+Osl0+OhlXoSr96dXA=; b=ghOvZANGWBmggBgqBinuBBOp+HwHp3X68TGdCXYikCtW8Noh21TSBRbgOcsdOODbw0 DTsP9Ly7fdEKDdsHmqROMCbQMdI3IbWHjChEPHnCnnnMM46833dm0vwCUqEiajtWwA+4 F+gDdaCw+Hi81MB2i6vnVkTzWdScMz3rjb3kHrgGiV4ZOCxIqli38FPWL2wdwfb2kLVW SAUKiFnyHQbcDIMbzVHrEL90fOyOwAtYyCJPXtczhPkeC4u5NXVVux04nu/pwrWb/ruY Q8tcbE8g61cf60vOwYs4haJBC29AsRnhGl5fMPLy/Iq7qaZhptRrg1P35fq8Q1hCeaFq Sb6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ryn9lPb9; 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 z7si1523142edm.477.2021.01.14.06.56.39; Thu, 14 Jan 2021 06:57:02 -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=ryn9lPb9; 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 S1729245AbhANOym (ORCPT + 99 others); Thu, 14 Jan 2021 09:54:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbhANOyl (ORCPT ); Thu, 14 Jan 2021 09:54:41 -0500 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69ED3C061574; Thu, 14 Jan 2021 06:54:00 -0800 (PST) Received: by mail-lf1-x144.google.com with SMTP id o10so8357172lfl.13; Thu, 14 Jan 2021 06:54:00 -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=H43AsPC1Ol3zcrpDjCexwQNmz+Osl0+OhlXoSr96dXA=; b=ryn9lPb9TmLcWhM8xLI6KEhUnVTuyMNs1BPg+7zNtMckZh3te89f7IIxpRDAtkARSi vtmBTryduHnZyG8gxO00pwyKUMLQGNbdDv8cN2dpm1nqGWSXmZPsUKpibpF/5gXFaZCQ 8LDk7bGkdBbNWNM5WkK8ZKTsBgFDtsNgzq2NtPWbx4bqosdBxM9KxZ4O7L4PewFKzKVz GV2kpmQiI8dJWtwJJ1qQp/rTVvGWGKnzNVz+WAroQCvWR9VJLcEC9uisTD4nRYSMx2PZ atbHuoHBVqN4vNF+VQzHc7Qqn/EZHu/qBGCzayKLvsc4FT5rQtjZZP6nlmFyIQu46fsq Xyhw== 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=H43AsPC1Ol3zcrpDjCexwQNmz+Osl0+OhlXoSr96dXA=; b=DJA9oXUZbA9d1rg5o8L/Ozjkv3/7B2nRqrZuSX4bBAE60ZRVQeAyead+DHC7x5rhHZ cdtwznQB2rrPy3fhQ+LQ07vIAqfVWOj2otzDWdjawM8uzL5SGs+AsQvup/7HmxNHKbtS bQkf0WuOHFzw9p0m5kVLMMwwQ/RmBQ5JAnqsT1LVXENRNQhBvZAdiftcUXWR611Sv4uY ollk5o2lmesYJbrOfcGFbI24PgkcWgJpb3i/IGkVsJU5LRUUYkUpmIzAcefnZ57A36+M Ggkd1I5eLErw6riVQIwHSSEqt1o7BaWAKUDnMK3MtomsFBugsqvsomYQYCUYMb8T5B2A WTQw== X-Gm-Message-State: AOAM5339S2fHIWNNbCHOEGudJBcTF/rPDdKMhPUWqcLlnRMO47iPrb6i 1vVXHBm+ow8sOE8VLIu7nfrYuggz5BUfU9AYYbFKPvsGNQQ= X-Received: by 2002:ac2:4146:: with SMTP id c6mr3740962lfi.477.1610636037447; Thu, 14 Jan 2021 06:53:57 -0800 (PST) MIME-Version: 1.0 References: <20210112023619.5713-1-dong.menglong@zte.com.cn> <33bb1cd2-c202-0fd5-733d-b44e7e8fa92c@gmail.com> <2b6dcfbf-d534-4a2a-53e0-c942a9120a0f@gmail.com> In-Reply-To: <2b6dcfbf-d534-4a2a-53e0-c942a9120a0f@gmail.com> From: Menglong Dong Date: Thu, 14 Jan 2021 22:53:46 +0800 Message-ID: Subject: Re: [PATCH] ata: remove redundant error print in rb532_pata_driver_probe To: Sergei Shtylyov Cc: axboe@kernel.dk, 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 On Thu, Jan 14, 2021 at 4:30 PM Sergei Shtylyov wrote: [...] > > > > What does this 'MBR' mean? I am a novice~~~ > > Generally speaking, Master Boot Record. But I also use it to send you My > Best Regards. :-) Haha~, > > So, is it better to replace 'platform_get_irq' with > > 'platform_get_irq_optional' here? > > No. You should stop overriding the result to -ENOENT and pass the result > up the call chain instead. In order to do it, you should only check for (irq < 0). Well, I didn't even notice this. It does seem to be another problem... --- Best Regards Menglong Dong