Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752764AbbHEJyM (ORCPT ); Wed, 5 Aug 2015 05:54:12 -0400 Received: from smtp-out4.electric.net ([192.162.216.195]:52678 "EHLO smtp-out4.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751892AbbHEJyH convert rfc822-to-8bit (ORCPT ); Wed, 5 Aug 2015 05:54:07 -0400 From: David Laight To: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 4.2-rc5] workqueue: Make flush_workqueue() available again to non GPL modules Thread-Topic: Re: [PATCH 4.2-rc5] workqueue: Make flush_workqueue() available again to non GPL modules Thread-Index: AdDPZHfueAynKxgKQEe2/vA/h3Lurw== Date: Wed, 5 Aug 2015 09:52:07 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CB735FD@AcuExch.aculab.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.99.200] Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 X-Outbound-IP: 213.249.233.130 X-Env-From: David.Laight@ACULAB.COM X-PolicySMART: 3396946, 3397078 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1212 Lines: 31 > From: Tejun Heo > Date: 2015-08-04 18:05:20 > On Tue, Aug 04, 2015 at 11:26:04AM -0600, tim.gardner@canonical.com wrote: > > From: Tim Gardner > > > > Commit 37b1ef31a568fc02e53587620226e5f3c66454c8 ("workqueue: move > > flush_scheduled_work() to workqueue.h") moved the exported non GPL > > flush_scheduled_work() from a function to an inline wrapper. > > Unfortunately, it directly calls flush_workqueue() which is a GPL function. > > This has the effect of changing the licensing requirement for this function > > and makes it unavailable to non GPL modules. > > > > See commit ad7b1f841f8a54c6d61ff181451f55b68175e15a ("workqueue: Make > > schedule_work() available again to non GPL modules") for precedent. > > > > Cc: Tejun Heo > > Signed-off-by: Tim Gardner > > Applied to wq/for-4.3. I hit this yesterday afternoon as well! Can we get the fix into 4.2 itself ? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/