Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3432915imm; Fri, 25 May 2018 05:45:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqrrbtF2G5dOVealSfJYb1NQTD/Eh6wN5NNjWvgE94YF+Inbr6mMElIW+bCf/tJN4keJu06 X-Received: by 2002:a62:c858:: with SMTP id z85-v6mr2430149pff.81.1527252314809; Fri, 25 May 2018 05:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527252314; cv=none; d=google.com; s=arc-20160816; b=PBycrF+Mwoak1nuhS2ts2rDyjXB4+h+mI5247nFhouOaUqTJPJrOyvcMrXTx6jzgrF j4zkoCE9wtBoKA5J4ei8XXIV7RuMH8LQZ7nRAIXGc0psaR1USgFUWiF9N3ok/omXzq3V gcB9hv4yy6cxrkMz0vczst55TYWizqStGeKsCtCp3PFM894czo1St4tS0eo7zNe4Ta4h 7oAtCbsPx2xwqUIvH2vIDKL1Yp42gbM66Zg8Rbi8ZyHy29I9DGheYGljahZisQhq8sLM piDdIbiT8+gacAAeb0AgEx41vMRwfycjOpBqgEewl1YDKql9uk4P+sX6gCagqYByMbKO iTqg== 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:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=wV3oAT+MNxHh8pe3l99tGnp/nqNcmjhqVffDqUIbBLw=; b=BCzzcqGyhhG/ycrWpYX/tGTAfIISGcHRadOYWrdNtV/AguLXkKe9xqQSutXO1/VM96 ckvKVJ1cLklg9Tmiqnf551ZLbQ/k5X9GqsXdiLa9FcsAX2T3xrfNu8bb9Hcc7Isjz5HQ mkHOKFlGWXIYELp9GUoB4Q7hbeMtpsgy74PbfuwyQsu9zRu560ti4zib9huCrakOWIXe d0xJTxmK7jIVfWDQB7wa0gTu6bz7LYqiHvOUakyXMgQzg6dIt46buwKLUsSjcCDxTMka r17ebnxyhjchZ+dOsgslQ/mdsOowzC/AfcPOhZODn82kXbYd6UaP2Lfrxw6TzD95trw0 tXwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10-v6si23742901pfg.174.2018.05.25.05.44.59; Fri, 25 May 2018 05:45:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934382AbeEYMne (ORCPT + 99 others); Fri, 25 May 2018 08:43:34 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:43021 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751949AbeEYMnc (ORCPT ); Fri, 25 May 2018 08:43:32 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4PCcsN9006189; Fri, 25 May 2018 14:42:53 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2j59j8mj8y-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 25 May 2018 14:42:53 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 012043A; Fri, 25 May 2018 12:42:50 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BA0B22BF4; Fri, 25 May 2018 12:42:50 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 25 May 2018 14:42:50 +0200 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1347.000; Fri, 25 May 2018 14:42:50 +0200 From: Patrice CHOTARD To: Jisheng Zhang , Adrian Hunter , Ulf Hansson , "Florian Fainelli" , Ray Jui , Scott Branden , Ben Dooks , Jaehoon Chung , Viresh Kumar CC: "bcm-kernel-feedback-list@broadcom.com" , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] mmc: sdhci-*: Don't emit error msg if sdhci_add_host() fails Thread-Topic: [PATCH] mmc: sdhci-*: Don't emit error msg if sdhci_add_host() fails Thread-Index: AQHT8/hKC0d13t2990WpCwBn5xDKe6RAQk0A Date: Fri, 25 May 2018 12:42:49 +0000 Message-ID: <340a9aca-e4d1-84ef-6149-9e83141ce6a1@st.com> References: <20180525151509.0270dbe1@xhacker.debian> In-Reply-To: <20180525151509.0270dbe1@xhacker.debian> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.45] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-25_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSmlzaGVuZw0KDQpPbiAwNS8yNS8yMDE4IDA5OjE1IEFNLCBKaXNoZW5nIFpoYW5nIHdyb3Rl Og0KPiBJIG5vdGljZWQgYmVsb3cgZXJyb3IgbXNnIHdpdGggc2RoY2ktcHhhdjMgb24gc29tZSBi ZXJsaW4gcGxhdGZvcm1zOg0KPiANCj4gWy4uLi4uXSBzZGhjaS1weGF2MyBmN2FiMDAwMC5zZGhj aSBmYWlsZWQgdG8gYWRkIGhvc3QNCj4gDQo+IEl0IGlzIGR1ZSB0byBnZXR0aW5nIHJlbGF0ZWQg dm1tYyBvciB2cW1tYyByZWd1bGF0b3IgcmV0dXJucw0KPiAtRVBST0JFX0RFRkVSLiBJdCBkb2Vz bid0IG1hdHRlciBhdCBhbGwgYnV0IGl0J3MgY29uZnVzaW5nLg0KPiANCj4gIEZyb20gYW5vdGhl ciBzaWRlLCBpZiBkcml2ZXIgcHJvYmluZyBmYWlscyBhbmQgdGhlIGVycm9yIG51bWJlciBpc24n dA0KPiAtRVBST0JFX0RFRkVSLCB0aGUgY29yZSB3aWxsIHRlbGwgdXMgc29tZXRoaW5nIGFzIGJl bG93Og0KPiANCj4gWy4uLi4uXSBzZGhjaS1weGF2MzogcHJvYmUgb2YgZjdhYjAwMDAuc2RoY2kg ZmFpbGVkIHdpdGggZXJyb3IgLUVYWA0KPiANCj4gU28gaXQncyBub3QgbmVjZXNzYXJ5IHRvIGVt aXQgZXJyb3IgbXNnIGlmIHNkaGNpX2FkZF9ob3N0KCkgZmFpbHMuIEFuZA0KPiBzb21lIG90aGVy IHNkaGNpIGhvc3QgZHJpdmVycyBhbHNvIGhhdmUgdGhpcyBpc3N1ZSwgbGV0J3MgZml4IHRoZW0N Cj4gdG9nZXRoZXIuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBKaXNoZW5nIFpoYW5nIDxKaXNoZ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