Return-path: Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:59944 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932486AbcKDDOr (ORCPT ); Thu, 3 Nov 2016 23:14:47 -0400 From: Xinming Hu To: Dmitry Torokhov , Brian Norris CC: Amitkumar Karwar , "linux-wireless@vger.kernel.org" , Cathy Luo , "Nishant Sarmukadam" , "rajatja@google.com" Subject: RE: [PATCH v2 2/5] mwifiex: use spinlock for 'mwifiex_processing' in shutdown_drv Date: Fri, 4 Nov 2016 03:02:17 +0000 Message-ID: <751e73d81772495786cad614e11f32bc@SC-EXCH02.marvell.com> (sfid-20161104_041504_925514_B68DBBDF) References: <1477559563-18328-1-git-send-email-akarwar@marvell.com> <1477559563-18328-2-git-send-email-akarwar@marvell.com> <20161027174422.GA509@dtor-ws> <20161103161504.GA15366@dtor-ws> <20161103182705.GA1153@google.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRG1pdHJ5IFRvcm9raG92 IFttYWlsdG86ZG1pdHJ5LnRvcm9raG92QGdtYWlsLmNvbV0NCj4gU2VudDogMjAxNuW5tDEx5pyI NOaXpSAyOjQ5DQo+IFRvOiBCcmlhbiBOb3JyaXMNCj4gQ2M6IFhpbm1pbmcgSHU7IEFtaXRrdW1h ciBLYXJ3YXI7IGxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZzsgQ2F0aHkgTHVvOw0KPiBO aXNoYW50IFNhcm11a2FkYW07IHJhamF0amFAZ29vZ2xlLmNvbQ0KPiBTdWJqZWN0OiBSZTogW1BB VENIIHYyIDIvNV0gbXdpZmlleDogdXNlIHNwaW5sb2NrIGZvciAnbXdpZmlleF9wcm9jZXNzaW5n JyBpbg0KPiBzaHV0ZG93bl9kcnYNCj4g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