Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754473AbdCBIfi (ORCPT ); Thu, 2 Mar 2017 03:35:38 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:46441 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754195AbdCBIeg (ORCPT ); Thu, 2 Mar 2017 03:34:36 -0500 X-AuditID: b6c32a58-f79f16d00000132c-90-58b7d144ced7 MIME-version: 1.0 Subject: FW: RE: Re: FW: RE: Re: Subject: [PATCH v3] USB:Core: BugFix: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously Reply-to: ajay.kaher@samsung.com From: Ajay Kaher To: Alan Stern , "gregkh@linuxfoundation.org" Cc: "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , AMAN DEEP , HEMANSHU SRIVASTAVA X-Priority: 3 X-Content-Kind-Code: NORMAL In-reply-to: <20170302074430epcms5p342df59b8e9a4ecc72f4789ed07fc2f21@epcms5p3> X-Drm-Type: Y,confirm X-EPLocale: en_US.EUC-KR X-EPWebmail-Msg-Type: personal X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Illegal-Object: Syntax error in X-Sender: address found on vger.kernel.org: X-Sender: =?utf-8?B?7IK87ISx7KCE7J6QG1NSSS1EZWxoaS1TeXN0ZW0g?= ^-Extraneous program text X-Sender-IP: 107.109.226.47 X-Local-Sender: =?UTF-8?B?QWpheSBLYWhlchtTUkktRGVsaGktU3lzdGVtIFMvVyBUZWFtG+yCvOyEsQ==?= =?UTF-8?B?7KCE7J6QG0xlYWQgRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?QWpheSBLYWhlchtTUkktRGVsaGktU3lzdGVtIFMvVyBUZWFtG1NhbXN1?= =?UTF-8?B?bmcgRWxlY3Ryb25pY3MbTGVhZCBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwGxtDMTBJRDAySUQwMjgxMTI=?= Message-id: <20170302074947epcms5p16d50cace2b286f0cabaec6ac31f2390b@epcms5p1> Date: Thu, 02 Mar 2017 07:49:47 +0000 X-CMS-MailID: 20170302074947epcms5p16d50cace2b286f0cabaec6ac31f2390b Content-type: multipart/related; boundary="----=_Part_401181_1443131672.1488440987529" X-MTR: 20170302074947epcms5p16d50cace2b286f0cabaec6ac31f2390b X-EPHeader: Mail X-ConfirmMail: Y,confirm CMS-TYPE: 105P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMJsWRmVeSWpSXmKPExsWy7bCmuq7Lxe0RBi83KVjsf7+FxaJ58Xo2 i1fn3zBbXN41h81i0bJWZosJvy+wObB57J+7ht1j9t0fjB59W1YxenzeJBfAEpVqk5GamJJa pJCal5yfkpmXbqvkHRzvHG9qZmCoa2hpYa6kkJeYm2qr5OIToOuWmQO0XEmhLDGnFCgUkFhc rKRvZ1OUX1qSqpCRX1xiqxRtaGikZ2hgrmdkZKRnYhprZWQKVJKQmrH74372gkNaFbePNjA3 MK7V7GLk5JAQMJFY/+IyM4QtJnHh3nq2LkYuDiGBpYwSB6avZepi5ODgFRCU+LtDGCQuLLCR UWLtgslgDUICChKd7etZQGxhAW2JXz2vWUFsNgFNiZ3dW8HiIgLpEk+vf2IEaWYWOM8osfTQ FDaIbbwSM9qfskDY0hLbl29lBLE5BfwkLl3YwQQRF5X40wBTIyGxeuFzqF45iWlf1zDD1Lw/ Np8RwhaRaL13FiouKPHg526oeK5E1/9v7DC7Lq+byAxykIRAM6NEz+WbjBBOD6PEi1O3WSGq zCX2H/8KdgWvgK/E/j/7wbpZBFQl/l5fAVXjIjFnxW+wDcwCERIzt/xhAwWXhICtxP2LshAl AhJrTsxhhnngwrlDzBDlfBK9v58wTWBUnYUI4FlIBkHYihJTuh+yg5QwA8N0/S79BYwsqxjF UguKc9NTi00LTPSKE3OLS/PS9ZLzczcxghOkVsQOxn8zgg4xCnAwKvHwMgATpxBrYllxZe4h RgkOZiURXskjQCHelMTKqtSi/Pii0pzU4kOMpkC/TWSWEk3OBybvvJJ4QxMzQxMjS2NTM3MD CyVx3iiDiRFCAumJJanZqakFqUUwfUwcnFINjDtU5s9dJ54Rr3RgQpyqgFmDbfVdsWCd7Jcp 6z3c5UJy/CUSruX++Cv+KX9SyJ95reppe6zuvV6zvf87U+qZ5V6FD2Vnh9a2r/xy7+rD5exm cwt38v5buvvX7Y/1zA96ejxOL9AVrovaM/f/22eOHtdNjy9KEzQ7EVBzMKz9p3J6p+G98sLz /EosxRmJhlrMRcWJAHOETtWmAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-Auth-Email: ajay.kaher@samsung.com X-HopCount: 6 X-CMS-RootMailID: 20170301151552epcas5p3ecf8f7dc55323b2ceaff8c8a9b9644c4 X-RootMTR: 20170301151552epcas5p3ecf8f7dc55323b2ceaff8c8a9b9644c4 References: <20170302074430epcms5p342df59b8e9a4ecc72f4789ed07fc2f21@epcms5p3> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5369 Lines: 73 ------=_Part_401181_1443131672.1488440987529 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" DQo+wqBPbsKgV2VkLMKgMcKgTWFywqAyMDE3LMKgQWxhbsKgU3Rlcm7CoHdyb3RlOg0KPj7CoE9u wqBXZWQswqAxwqBNYXLCoDIwMTcswqBBamF5wqBLYWhlcsKgd3JvdGU6DQo+Pj7CoE9uwqBNb24s wqAyMsKgRmViwqAyMDE3LMKgQWphecKgS2FoZXLCoHdyb3RlOg0KPj4+wqANCj4+Pj7CoA0KPj4+ Pj7CoEFsYW4swqBhc8KgcGVywqBtecKgdW5kZXJzdGFuZGluZ8KgScKgaGF2ZcKgc2hpZnRlZMKg dGhlwqBsb2NrwqBmcm9tDQo+Pj4+PsKgcmVsZWFzZV91c2JfY2xhc3MoKcKgdG/CoGRlc3Ryb3lf dXNiX2NsYXNzKCnCoGluwqBwYXRjaMKgdjMuwqANCj4+Pj4+wqBJZsK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