Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3658446ybi; Tue, 18 Jun 2019 04:35:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQ2Bg2BO/aviRvQ+H3d6Rqvoca4eezZtOhyxPz/g/EGMbynIfuh401u1igg0/haS4HwiAQ X-Received: by 2002:a63:a1a:: with SMTP id 26mr2240912pgk.265.1560857713933; Tue, 18 Jun 2019 04:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560857713; cv=none; d=google.com; s=arc-20160816; b=Kk9i5OOIVbVomXxDXbzwBraEU0f6VGx4N3RgqW1bn/JMOgWbiXJzKy8Ey8ht0W/FS7 Xep7Rov1Xmb+xAhdwC4i6wm5wLPnb9xdnEoO2e7bQEx2Ba37ffTxKR7K161gkI6Fv6Q0 bA1dXRF3Yf7kCezeUfHuev1mxxzQWtQMFytO4a9udM2svHdSGkVskbKu9Q6FSAk5HfhO FZkJEsMD/2sol1Xu6n7wIYyWIeTo6g+ho3HXP+2xgqILvWm0JcwXutoe+YUE73UjSACa 4iA5GNPb4Pab7LP76qyGRYAIz9aU51TJJW9eH8DEpxAa6K91NL4mIZUrleGfNpW75s5Z Fb6g== 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-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=maXJoyBIMcpTJ2lE0L6JIyZGvNct9Ww4iaZT4K9ZDrE=; b=yVhIXOvsKK4wX7l89meopdiNhPh3d1CJtDfF0t0ZwJTbzi/QXbgjZIE311PTrj0G+x xoofLPFiVAbrQj1ggEdnoszwwP/uKIblCTAjd3zYOnNTzrYcS6U4AQ3TonOnscxzKfBz 1QNMxlAgExKDQKQH7XdwVxOlBi+yIlH+arLl18BUevLAySYtpOIY/89zj193wRwbfRaE n07tdoWm2LLVgQZ9xSirwD+pH5Xke/FMiiB16zHvnpyyhct6TIHhz6PcUWQjRdcQaMID P0GCxZ2fiy7ui4MF31LSKfGtIMy21uX/ADEeCiAv/agXOj2dPD/2921Heer6kJMk2I3E TO9Q== 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 r5si2023480pji.43.2019.06.18.04.34.56; Tue, 18 Jun 2019 04:35:13 -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 S1729715AbfFRLej (ORCPT + 99 others); Tue, 18 Jun 2019 07:34:39 -0400 Received: from mail1.bemta24.messagelabs.com ([67.219.250.2]:57159 "EHLO mail1.bemta24.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729698AbfFRLei (ORCPT ); Tue, 18 Jun 2019 07:34:38 -0400 Received: from [67.219.251.51] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-5.bemta.az-c.us-west-2.aws.symcld.net id 4B/04-08344-B4CC80D5; Tue, 18 Jun 2019 11:34:35 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpik+JIrShJLcpLzFFi42LxThM+put9hiP W4OB3CYvmxevZLLYfFbC4vGsOm8WiZa3MDiweO2fdZffYP3cNu8fnTXIBzFGsmXlJ+RUJrBkf Vx9hK3ggW3Hn9z7WBsY+mS5GLg4hgS2MErumPGWBcDYzSpycu4EJwjnIKHF+RTdbFyMnB5uAo 8TXn4/ZQWwRAWOJ/rOz2EGKmAVOM0q0HmphAUkICzhITNn2hg2iyFHiy8IvjBC2m8SJ209Yux g5OFgEVCW+LzADCfMKuEt0Xp8NVi4kcIZR4sUqJhCbU0Bf4uL7GWAjGQXEJL6fWgMWZxYQl7j 1ZD6YLSEgIvHw4mk2CFtU4uXjf6wQtoHE1qX7WEBWSQgoSPx/wQHRmibxbtZ/Joi1ghInZz5h gVirK3F5/j/2CYxis5BsmIWkZRaSFoi4jsSC3Z/YIGxtiWULXzND2FkSW75vhbL9JU58vMU+C xxC1xglmpsaoRKKElO6H7IvYORcxWiRVJSZnlGSm5iZo2toYKBraGika2hsDqTN9RKrdJP1So t1y1OLS3SN9BLLi/WKK3OTc1L08lJLNjECE0JKQWfpDsYZB17rHWKU5GBSEuVNimaPFeJLyk+ pzEgszogvKs1JLT7EKMPBoSTB++oUR6yQYFFqempFWmYOMDnBpCU4eJREeINOA6V5iwsSc4sz 0yFSpxiNOSa8nLuImePg0XmLmIVY8vLzUqXEeVVBSgVASjNK8+AGwZLmJUZZKWFeRgYGBiGeg tSi3MwSVPlXjOIcjErCvGtBpvBk5pXA7XsFdAoT0CmPlrKBnFKSiJCSamCSLT/p8+y13oslL3 e2rJq/ITzhm9GXHe8ZNsZnrHzJcv1y0exd7hM+N8/g1bc/LOO36Cc7v/fZgvoTOf7rRXgP3T/ bJGzloStaKSfVLWXsfSBL6MtmtmMhinaLE+2MNDtceq57dpnmqaV5HVe/spbHPTHmlFhjT77i hqrz0p+ztG60zrtz/EP7eamWKSkBVdHnv/5v3vuo/+sXTZX3711OxQmdPrxkdUtAfBAL+5TNT 2donmtY/Lv0p0o9N4fJ7i013CePGnI+OLjhD+8dhU8tlu/m1QZOlt4W/lk6/bz8KYmdTlxplt P6LI4VmxneyFgk5Tw5e0J8kld8iKiA9caNJWc++hjd4Va/Hvvm8RUlluKMREMt5qLiRAAUOeS aFQQAAA== X-Env-Sender: Kiruthika.Varadarajan@harman.com X-Msg-Ref: server-18.tower-363.messagelabs.com!1560857673!10070915!2 X-Originating-IP: [75.102.19.198] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.31.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 22130 invoked from network); 18 Jun 2019 11:34:35 -0000 Received: from unknown.ord.scnet.net (HELO HICGWSMB09.ad.harman.com) (75.102.19.198) by server-18.tower-363.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 18 Jun 2019 11:34:35 -0000 Received: from HICGWSMB08.ad.harman.com (10.10.24.109) by HICGWSMB09.ad.harman.com (10.10.24.241) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Tue, 18 Jun 2019 07:34:33 -0400 Received: from HICGWSMB01.ad.harman.com (10.10.24.94) by HICGWSMB08.ad.harman.com (10.10.24.109) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Tue, 18 Jun 2019 07:34:33 -0400 Received: from HICGWSMB01.ad.harman.com ([fe80::941a:f5b7:534a:7737]) by HICGWSMB01.ad.harman.com ([fe80::941a:f5b7:534a:7737%13]) with mapi id 15.00.1365.000; Tue, 18 Jun 2019 06:34:33 -0500 From: "Varadarajan, Kiruthika" To: Greg Kroah-Hartman CC: Felipe Balbi , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kiruthikanv@gmail.com" Subject: RE: [EXTERNAL] Re: Kernel patch in USB 4.4.138 Version Thread-Topic: [EXTERNAL] Re: Kernel patch in USB 4.4.138 Version Thread-Index: AQHVHTkp8UnjGujKFk+69XE7CW1vK6ahJuHQgAACNTCAAGYCgP//yZ1w Date: Tue, 18 Jun 2019 11:34:32 +0000 Message-ID: <07d0eff017c84006a87aa46af54e1ded@HICGWSMB01.ad.harman.com> References: <6e521b173bd24197930c764dc5fe9ad1@HICGWSMB01.ad.harman.com> <20190607135853.GB14665@kroah.com> <61ab2bb8e87e4c6a967722a4ae757a4a@HICGWSMB01.ad.harman.com> <20190618094737.GB10451@kroah.com> In-Reply-To: <20190618094737.GB10451@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.10.24.164] Content-Type: multipart/mixed; boundary="_002_07d0eff017c84006a87aa46af54e1dedHICGWSMB01adharmancom_" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --_002_07d0eff017c84006a87aa46af54e1dedHICGWSMB01adharmancom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Greg, Now I ran checkpatch and this patch is against kernel version 5.1. Checkpatch run is clean. Could you check my patch now. Thanks and Regards, Kiruthika. NV -----Original Message----- From: Greg Kroah-Hartman =20 Sent: Tuesday, June 18, 2019 3:18 PM To: Varadarajan, Kiruthika Cc: Felipe Balbi ; linux-usb@vger.kernel.org; linux-kernel@vg= er.kernel.org; kiruthikanv@gmail.com Subject: Re: [EXTERNAL] Re: Kernel patch in USB 4.4.138 Version On Tue, Jun 18, 2019 at 08:43:56AM +0000, Varadarajan, Kiruthika wrote: > Hi Greg, > Please ignore my previous email and here is the patch on top of 4.4.x st= able version. > Could you please review the attached patch. Also, always use scripts/checkpatch.pl on your patch, it has a number of ob= vious coding style issues that prevent it from being accepted by anyone. thanks, greg k-h --_002_07d0eff017c84006a87aa46af54e1dedHICGWSMB01adharmancom_ Content-Type: application/octet-stream; name="USB-Fix-race-between-gether_disconnect-and-rx_submit.patch" Content-Description: USB-Fix-race-between-gether_disconnect-and-rx_submit.patch Content-Disposition: attachment; filename="USB-Fix-race-between-gether_disconnect-and-rx_submit.patch"; size=1605; creation-date="Tue, 18 Jun 2019 08:42:27 GMT"; modification-date="Tue, 18 Jun 2019 11:32:14 GMT" Content-Transfer-Encoding: base64 RnJvbSA4OTdmYjJkMDY1M2I0ODFiODNkNzc2ODVlNGIyMGJlNzAyMDI3YWZjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tO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