Return-path: Received: from nasmtp01.atmel.com ([192.199.1.246]:46378 "EHLO DVREDG02.corp.atmel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932742AbcCJGtp (ORCPT ); Thu, 10 Mar 2016 01:49:45 -0500 From: "Kim, Leo" To: Vladimir Zapolskiy , Julian Calaby CC: "Lee, Glen" , Greg Kroah-Hartman , "Kim, Johnny" , "Shin, Austin" , "Park, Chris" , "Cho, Tony" , linux-wireless , "devel@driverdev.osuosl.org" Subject: RE: [PATCH] staging: wilc1000: fix check of kthread_run() return value Date: Thu, 10 Mar 2016 06:49:39 +0000 Message-ID: <74F3875218FC364C9618AB19CB60E9058005854E@penmbx02.corp.atmel.com> (sfid-20160310_074949_831521_5388EC06) References: <1457565194-31533-1-git-send-email-vz@mleia.com> <56E0B21D.1010503@mleia.com> <56E0B9AD.3050806@mleia.com> <56E0C17F.40909@mleia.com> In-Reply-To: <56E0C17F.40909@mleia.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: SGkgVmxhZGltaXIgJiBKdWxpYW4NCg0KVGhlIGRyaXZlciBpcyBzdGlsbCBtb3ZpbmcgdG8gdGhl IExpbnV4IGRyaXZlciBhbmQgYWxzbyBpdHMgYmVpbmcgY2hhbmdlZC4NCllvdXIgcGF0Y2ggaXMg ZXZlcnl0aGluZydzIG9rLg0KSSBhbHNvIGFncmVlIHRvIEp1bGlhbiByZXZpZXcuDQoNCsKgVGhh bmtzLCBCUg0KwqBMZW8NCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IFZsYWRp bWlyIFphcG9sc2tpeSBbbWFpbHRvOnZ6QG1sZWlhLmNvbV0gDQpTZW50OiBUaHVyc2RheSwgTWFy Y2ggMTAsIDIwMTYgOTozNiBBTQ0KVG86IEp1bGlhbiBDYWxhYnkgPGp1bGlhbi5jYWxhYnlAZ21h aWwuY29tPg0KQ2M6IExlZSwgR2xl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