Received: by 10.223.176.5 with SMTP id f5csp3124573wra; Mon, 29 Jan 2018 09:08:08 -0800 (PST) X-Google-Smtp-Source: AH8x2246/jvI0+Ii/VXZlfcS7R2d3VvAJs0rKt44uIVa3nrOz3GNW2vs94DM5QJUB/qSUaGJiFDF X-Received: by 2002:a17:902:7c86:: with SMTP id y6-v6mr13151908pll.24.1517245688237; Mon, 29 Jan 2018 09:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517245688; cv=none; d=google.com; s=arc-20160816; b=d9MLBoBpv0DnOKdyTipZddP1tDNBmMtiiuqlixVs+Kwj+aGOO2RrBiCoX+9QJ9LXpb aW4wj9sk6zxrLbk72f7pgC0JJe9ezCKde9LBcoNvqcVuO+KkHXp9HGLTkBnhNpSHv8ul jz2aGgIgKxvGkRm+eoq/e28U5GyZy+Sv5oAEKWRbVP7viWBC0E2nu7RQn2zi8yx++hhK Skr2niJpGl6K+59d87A14t1NAva/+B+PoZfgdKBZUhvcDYThWZQyDrzLYp8rDNXNKvk5 c2R1vLYIqSW871jnCH37zuXHoqo9HanS6qJwYs/p7QZKYMb/ff36qBDFhYCrSHap9j/N 1noQ== 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:spamdiagnosticmetadata:spamdiagnosticoutput :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=MEGjhH0OisqS9GFQ8OtFnW6LM69aT2NmG+e/TO+tPOM=; b=SyZcFQ9BDdXkpHHgxia/PC7wxCzwgm72qwXq+VaX7+Zcgq+BN5QG/dazl4wxt5xjUO idAhDKiKj8hKRcsGVYYw5HBZ5CRrUajFpSyYjl4zIaXVEZQPZFIZHyTkctwaQyDXrKvc JsWX8aAU4AoMXZNnbpT/87udk8ctMbkIRxRwbT12Z3AX9CrbcXNzjxR9JlZVBGlUmg/u gWWBrQLFDfmAk01jOfdLT8i4eGnOCpgkb74/7nvNe6uiClNEpFRAt6nDaOtJ0HpngF7b ydI8jKVo/5STh6XqySptjZ02LvHXKlOqr7XsgXylZfKa2RI02N7NmSGQ3qQpyURc/wK/ +9YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=lykzLuAY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=KC6GorAQ; 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 a14si7666852pgu.361.2018.01.29.09.07.53; Mon, 29 Jan 2018 09:08:08 -0800 (PST) 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; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=lykzLuAY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=KC6GorAQ; 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 S1751436AbeA2RGB (ORCPT + 99 others); Mon, 29 Jan 2018 12:06:01 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:20623 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751257AbeA2RF4 (ORCPT ); Mon, 29 Jan 2018 12:05:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1517245556; x=1548781556; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=MEGjhH0OisqS9GFQ8OtFnW6LM69aT2NmG+e/TO+tPOM=; b=lykzLuAYoGLZYZeIZ/A9ZNyo8ZElOl4h3yWx/RryNuRFeTsBvC404WYq lDXKJlf/9oOj5Ckv1z8YdQybKKh/R1Bajp9mlcpAZMcertAdypSkTO4KM NTEsjRJoKQ8/XIwcx6MW8g0tbYbmocYsUJcDCtbl5m6F0mPlw+jaue+lG 4Cxg2XynThpr8jroBjCmAtrnV1MzOwlYv+sGkX0vJb9GBqdnrPqhHOM1B YGdM15wv2rRlya3tHHPp9M8t3NIFZxwilcnQ1dEIHN7Hg+VVMvRJ45dLQ CEnDwZhBOp9R3RbjUPVKib/YYU4JxFbeMWLC7nR+Ly/pXuCRVwWhkYlPr g==; X-IronPort-AV: E=Sophos;i="5.46,432,1511798400"; d="scan'208";a="173021902" Received: from mail-sn1nam02lp0024.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([216.32.180.24]) by ob1.hgst.iphmx.com with ESMTP; 30 Jan 2018 01:05:50 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MEGjhH0OisqS9GFQ8OtFnW6LM69aT2NmG+e/TO+tPOM=; b=KC6GorAQLmHk3qQ2OeyUt0dy+8Yo/MWxjFiMKTIR72M/IBte5433QTZ0ofpa3zqLURVDq+a2pKkW/QTydlU1G/GsFdUveGbriwDd0exSnbJXWxKKVo+g4Xw/3OCOodAbIIWduHB3yQ5yu/6Rgn8zJC/Si0AzdUVPlXGmDVdfVdc= Received: from CY1PR0401MB1536.namprd04.prod.outlook.com (10.163.19.154) by CY1PR0401MB1001.namprd04.prod.outlook.com (10.160.160.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Mon, 29 Jan 2018 17:05:47 +0000 Received: from CY1PR0401MB1536.namprd04.prod.outlook.com ([10.163.19.154]) by CY1PR0401MB1536.namprd04.prod.outlook.com ([10.163.19.154]) with mapi id 15.20.0444.016; Mon, 29 Jan 2018 17:05:47 +0000 From: Bart Van Assche To: "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "linux-ide@vger.kernel.org" , "keescook@chromium.org" , "msuchanek@suse.de" , "tglx@linutronix.de" , "martin.petersen@oracle.com" , "axboe@kernel.dk" , "linux-scsi@vger.kernel.org" , "kstewart@linuxfoundation.org" , "pombredanne@nexb.com" , "bp@alien8.de" , "gregkh@linuxfoundation.org" , "jejb@linux.vnet.ibm.com" , "christophe.jaillet@wanadoo.fr" , "davem@davemloft.net" , "linux-doc@vger.kernel.org" , "tim@cyberelk.net" Subject: Re: [PATCH resend 3/6] cdrom: wait for tray to close Thread-Topic: [PATCH resend 3/6] cdrom: wait for tray to close Thread-Index: AQHTl4ZWy+JRUWYhdk6OwWf6IgBM8qOLF8EA Date: Mon, 29 Jan 2018 17:05:47 +0000 Message-ID: <1517245546.2687.17.camel@wdc.com> References: <03915a2e64f50ec04ea6d8e6f80e36ecf16e4f0f.1516985620.git.msuchanek@suse.de> In-Reply-To: <03915a2e64f50ec04ea6d8e6f80e36ecf16e4f0f.1516985620.git.msuchanek@suse.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR0401MB1001;7:H9wO+5BkVrJMnqNP9nvfyAuDqULWwTly6G4g2MgMcGXPdsMQojm5mxirskvw9vIj5vaxUKIs0L79o9OuAEgb9JVUnApjZV4OvOpfu7y6Y8BWGwyE6majORkyfYNgPbVHxX3DyN6QEO/XHHdpcrotsl8rbBN4I5QKsxIxxc4alLhciLT6EjcL5oLG/Ftxvc4nCC+U121a2yPgKcRhV/aT9F6RptCre+nLG/mzz8iuk8qdAqubxNVUV6wFzQkvMo/J;20:PZ1HOAYnoZoOjVQrdMrwbB63Gr9OUWsYTVMYri4cvee8BMLGF6ji21sYOH8XDv/r3rjm63eeamFcclaxPsJNgMrXsvGKYN7LhfWVQVoK+FXcMsAp2dlU3o1CwecEXA4Y+to8XgAUpJUP5gw+8gE2s/Lb85kxR+EZsoUaz4cikbM= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 99e31cee-deca-4d1d-6437-08d5673a8aaa x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:CY1PR0401MB1001; x-ms-traffictypediagnostic: CY1PR0401MB1001: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(3231101)(944501161)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CY1PR0401MB1001;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0401MB1001; x-forefront-prvs: 0567A15835 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(346002)(366004)(376002)(39860400002)(39380400002)(377424004)(189003)(199004)(3660700001)(8676002)(8936002)(99286004)(229853002)(7416002)(72206003)(2906002)(105586002)(5660300001)(478600001)(2501003)(106356001)(14454004)(81166006)(81156014)(2950100002)(76176011)(103116003)(36756003)(25786009)(26005)(77096007)(66066001)(53936002)(2201001)(3280700002)(6512007)(2900100001)(186003)(102836004)(110136005)(6246003)(97736004)(7736002)(59450400001)(6436002)(3846002)(6486002)(305945005)(316002)(6116002)(68736007)(6506007)(86362001)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0401MB1001;H:CY1PR0401MB1536.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-microsoft-antispam-message-info: +jvNnuk3C5AwfbAl6cL6omiUFBPN/HIzMan85oiBfu7LEh+ZrmrN5PgSUdEcleb0kUM4nBnoPEA0PkyJoZHmSQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9C94C4CE03D87F47BCAE9BFCC77DA81C@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99e31cee-deca-4d1d-6437-08d5673a8aaa X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2018 17:05:47.4198 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0401MB1001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTAxLTI2IGF0IDE3OjU4ICswMTAwLCBNaWNoYWwgU3VjaGFuZWsgd3JvdGU6 DQo+ICtzdGF0aWMgaW50IGNkcm9tX3RyYXlfY2xvc2Uoc3RydWN0IGNkcm9tX2RldmljZV9pbmZv ICpjZGkpDQo+ICt7DQo+ICsJaW50IHJldDsNCj4gKw0KPiArCXJldCA9IGNkaS0+b3BzLT50cmF5 X21vdmUoY2RpLCAwKTsNCj4gKwlpZiAocmV0IHx8ICFjZGktPm9wcy0+ZHJpdmVfc3RhdHVzKQ0K PiArCQlyZXR1cm4gcmV0Ow0KPiArDQo+ICsJcmV0dXJuIHBvbGxfZXZlbnRfaW50ZX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