Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1090710ybg; Tue, 2 Jun 2020 00:46:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkUD+AKRKr6+uP/hXlvsCWwmePWf0eiJmrGw48YcIkMMU8d7OP9KVynM9bYOplDMHgdNLN X-Received: by 2002:a50:954b:: with SMTP id v11mr5084248eda.273.1591083996354; Tue, 02 Jun 2020 00:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591083996; cv=none; d=google.com; s=arc-20160816; b=BitKKAfHfCf+Ln1baVpNr2siUbfPHY06G7Ze1PlqDk0psiVjd7SbRGGljeZ7jOWrD2 /f3Skk4oUCkGO7QaUM9KqjwN3D/etB2FYpU/HRUeIL5yYxXzRZUvHtjg44OjsiNgrSsi hcbJkKpBWO90xvF+ND9aYzmp3OYJZPzeivYjynWgEjDg5EYQWiRP6Xfhx/ishR2l/fSH gtavhYvVYC6CGN++wI0FAMin4PPwkP1fstMsNa1Q3SB66jszrSWBNJ6NjM5C3m/85uhe ZQ8Rkqy2MqRDfE9Yq2JmIc4Nn+8LZ/VlgtvRKt8yAsaoHPk0vpVlEeCnlEyjddBw5QKw gJog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:cc:to:from:thread-topic:subject :ironport-sdr:dkim-signature; bh=queorqomKSP9LekWnpkGGKIrzqw9PFAECPBLzFJM84U=; b=oDxkJ7ZKBiqMqGDaZwQ0oc4nXqnVyxxaF8iOtF7yk2xLO1FtKhklXDgCs7M4gIn4Zd p24cMpqV7eWIwqW3rudWkPSbQ2GY1sTQzjQ36mrb/SNyXGO3AHogH8c5sPLL2UsnPhcs GN92Vhqvxw/eRYTerwuYVCT/AWHfhUpMkdmliGopIivck7yqcjFPx9FyTIxSzQkoq17f r4GDXUnckR/I+grEKbKL4PRNJoMt9OENs1jcQ6eHNGtoe+iBchfm8tgqHDTCaYSxzacS LD1FrvZ1ZD5OH4DFGy1Da7YsS43zqoIBK0DCtMRj8/bFBdZZ3rKRCowzrfMIs4do/F/L TYog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Lf1QciFe; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si1003853ejr.544.2020.06.02.00.46.12; Tue, 02 Jun 2020 00:46:36 -0700 (PDT) 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=@amazon.com header.s=amazon201209 header.b=Lf1QciFe; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726026AbgFBHoY (ORCPT + 99 others); Tue, 2 Jun 2020 03:44:24 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:50838 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbgFBHoY (ORCPT ); Tue, 2 Jun 2020 03:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591083863; x=1622619863; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=queorqomKSP9LekWnpkGGKIrzqw9PFAECPBLzFJM84U=; b=Lf1QciFeG42tnGPqVnAHDlqAwEyQQ4589PbhD+HX/mi7F/qCoevPftRG hdq8sQOlBvh17s7df+1d91g1RvWOWm5iczbgNqULLt+KwIZEpQSCedhN9 a8xZvSJXDYHAv8GHXV2vdAGTf02XzN4bdIPAM9/rlAwQRF0V4557iKGS3 E=; IronPort-SDR: 53ixTy8+W3rMwU5SnSkgQ52kEc6BPqVsG7+PdqTi8+Ck1Q1s8i715Qh6tnsQglPVWZPThLN3L3 2HVMznPqVslg== X-IronPort-AV: E=Sophos;i="5.73,463,1583193600"; d="scan'208";a="49098053" Subject: Re: [PATCH v1] PCI: controller: Remove duplicate error message Thread-Topic: [PATCH v1] PCI: controller: Remove duplicate error message Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-17c49630.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 02 Jun 2020 07:44:21 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1e-17c49630.us-east-1.amazon.com (Postfix) with ESMTPS id B2237A176B; Tue, 2 Jun 2020 07:44:19 +0000 (UTC) Received: from EX13D13UWA002.ant.amazon.com (10.43.160.172) by EX13MTAUWA001.ant.amazon.com (10.43.160.58) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Jun 2020 07:44:19 +0000 Received: from EX13D13UWA001.ant.amazon.com (10.43.160.136) by EX13D13UWA002.ant.amazon.com (10.43.160.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Jun 2020 07:44:18 +0000 Received: from EX13D13UWA001.ant.amazon.com ([10.43.160.136]) by EX13D13UWA001.ant.amazon.com ([10.43.160.136]) with mapi id 15.00.1497.006; Tue, 2 Jun 2020 07:44:18 +0000 From: "Chocron, Jonathan" To: "zhengdejin5@gmail.com" CC: "linux-kernel@vger.kernel.org" , "lorenzo.pieralisi@arm.com" , "thomas.petazzoni@bootlin.com" , "pratyush.anand@gmail.com" , "robh@kernel.org" , "linux-pci@vger.kernel.org" , "bhelgaas@google.com" , "tjoseph@cadence.com" , "Chocron, Jonathan" Thread-Index: AQHWM3A7ZXCRFcozsESZq5tPMlXzIai6rncAgAE9uoCACRAogA== Date: Tue, 2 Jun 2020 07:44:18 +0000 Message-ID: <1b54c08f759c101a8db162f4f62c6b6a8a455d3f.camel@amazon.com> References: <20200526150954.4729-1-zhengdejin5@gmail.com> <1d7703d5c29dc9371ace3645377d0ddd9c89be30.camel@amazon.com> <20200527132005.GA7143@nuc8i5> In-Reply-To: <20200527132005.GA7143@nuc8i5> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.162.53] Content-Type: text/plain; charset="utf-8" Content-ID: <2C6E3733F2D2BE428C02143171B2B362@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTA1LTI3IGF0IDIxOjIwICswODAwLCBEZWppbiBaaGVuZyB3cm90ZToNCj4g Q0FVVElPTjogVGhpcyBlbWFpbCBvcmlnaW5hdGVkIGZyb20gb3V0c2lkZSBvZiB0aGUgb3JnYW5p emF0aW9uLiBEbw0KPiBub3QgY2xpY2sgbGlua3Mgb3Igb3BlbiBhdHRhY2htZW50cyB1bmxlc3Mg eW91IGNhbiBjb25maXJtIHRoZSBzZW5kZXINCj4gYW5kIGtub3cgdGhlIGNvbnRlbnQgaXMgc2Fm ZS4NCj4gDQo+IA0KPiANCj4gT24gVHVlLCBNYXkgMjYsIDIwMjAgYXQgMDY6MjI6NTZQTSArMDAw MCwgQ2hvY3JvbiwgSm9uYXRoYW4gd3JvdGU6DQo+ID4gT24gVHVlLCAyMDIwLTA1LTI2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