Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp473385oof; Mon, 24 Sep 2018 23:57:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV61pejuYmL35VQYEMB5sX1yuSovJrpZla4cDoQI+2XC7WF+nDvyYXrGMjQrXZT+G6OmEN0vF X-Received: by 2002:a63:165f:: with SMTP id 31-v6mr1964881pgw.103.1537858654937; Mon, 24 Sep 2018 23:57:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537858654; cv=none; d=google.com; s=arc-20160816; b=BacOgjqkzuqE/Pidf4RkGoSGRItJ7+3z6hooc/IekCwuLoEIggQdwSdBApZ6pPHrBv Fi6+lsEFZ/OIPHCA2knpQwjzrHRJAsO4mws78jCN2vwQen6bTpv3gnmgphJ66rwN+2Ii uOkDDQ/ALr67oNFTKJIHIz68pl7v3j45z+YsDYg5L5Xa7FmFY8U7rAfXPMmhJgNhsNk9 Qj6wfzFI1jyYIe42zIrL79vZ3n6b+FBY1i4TLuOrTyemlPUJMsfKxRe3EmMldy2erWwT LXFtutdQtNELYvmz/HdGY57E+UvMGzzWShSVrjbcoaQDQ6hsojqpxGpp/uiIuFJX4tfT 5hdg== 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:thread-topic:subject:cc:to:from; bh=u81WKLeGK54396GJmZIhEcO0BHe/6DWJbmOnS/Cg7v4=; b=rakbQo6F1B7lTMmHS/sdPk1yh0B9nyFsKiGRo7KV+M+UmMw6f1nPtUH98Bo7setrWk a1Xdn8VRazgZGxpLQhIdCY8QD0TuFvNV8dVqaimJKot/Cp1SFfauUy86fv2piwE0IeX6 fPVGz+EQa8+UdhKgv0XTezmznY+mroAr6WRlKHLLDD6unxy2EwxSS0ApIi8Ryab3d/CV pevEEgViMYFn7FFsbjV3p4/RAnrGZYftH01c0SMqqIgYsPSoNbdwXjIGiSwvKjsxs9ae tNaLzrrhlpJgnbxy2T4W6jLZfzIdGcIWRpWwegzTGTV9YUmDGW06ChxsH8bSxLjWhJ18 /+jw== 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 j20-v6si1546519pgl.279.2018.09.24.23.57.19; Mon, 24 Sep 2018 23:57:34 -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 S1727265AbeIYNDF (ORCPT + 99 others); Tue, 25 Sep 2018 09:03:05 -0400 Received: from enterprise01.smtp.diehl.com ([193.201.238.219]:59916 "EHLO enterprise01.smtp.diehl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbeIYNDF (ORCPT ); Tue, 25 Sep 2018 09:03:05 -0400 X-Greylist: delayed 629 seconds by postgrey-1.27 at vger.kernel.org; Tue, 25 Sep 2018 09:03:03 EDT X-$ESA-Groupmapping: true X-IronPort-AV: E=Sophos;i="5.54,301,1534802400"; d="scan'208";a="57294189" From: Denis OSTERLAND To: "alexandre.belloni@bootlin.com" CC: "linux-kernel@vger.kernel.org" , "khoroshilov@ispras.ru" , Denis OSTERLAND Subject: Re: rtc: isl1208: avoid possible sysfs race Thread-Topic: rtc: isl1208: avoid possible sysfs race Thread-Index: AQHUVJtA0dWTdZv7nk2ctvoXuofcyqUAbDSA Date: Tue, 25 Sep 2018 06:46:24 +0000 Message-ID: <1537857983.4657.5.camel@diehl.com> References: <20180915114343.31935-1-alexandre.belloni@bootlin.com> In-Reply-To: <20180915114343.31935-1-alexandre.belloni@bootlin.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 Content-Type: text/plain; charset="utf-8" Content-ID: <50F33F016665DB4AB0186339B93CE0A8@diehl.internal> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-TrailerSkip: 1 X-GBS-PROC: PkB65aL1SqtESF35r/jQn1wcAP/6cinSQxhUfNfQmXqohSANlU2J/j7+vWF4KN9F Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCmp1c3QgZm9yIGNsYXJpZmljYXRpb246DQpUaGlzIGNoYW5nZXMgdXNlci1zcGFj ZSByZXByZXNlbnRhdGlvbiBmcm9tDQovc3lzL2NsYXNzL3J0Yy9ydGNOL2RldmljZS97YXRy aW0sZHRyaW0sdXNyfQ0KdG8NCi9zeXMvY2xhc3MvcnRjL3J0Y04ve2F0cmltLGR0cmltLHVz cn0NCmFuZCBmaXhlcyB0aGUgIm1pc3Rha2UgbWFkZSBiYWNrIGluIDIwMDYiIHlvdSBtZW50 aW9uIGluDQpodHRwczovL3BhdGNod29yay5vemxhYnMub3JnL3BhdGNoLzg4MTM5Ny8NCmNv cnJlY3Q/DQoNClJlZ2FyZHMgRGVuaXMNCg0KQW0gU2Ftc3RhZywgZGVuIDE1LjA5LjIwMTgs IDEzOjQzICswMjAwIHNjaHJpZWIgQWxleGFuZHJlIEJlbGxvbmk6DQo+IFVzZSBydGNfYWRk X2dyb3VwIHRvIGFkZCB0aGUgY29tbW9uIHN5c2ZzIGdyb3VwIHRvIGF2b2lkIGEgcG9zc2li bGUgcmFjZQ0KPiBjb25kaXRpb24uDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBBbGV4YW5kcmUg QmVsbG9uaSA8YWxleGFuZHJ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