From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F51EC433EF for ; Wed, 29 Jun 2022 16:50:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230179AbiF2QuA (ORCPT ); Wed, 29 Jun 2022 12:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbiF2Qt7 (ORCPT ); Wed, 29 Jun 2022 12:49:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95D2819B; Wed, 29 Jun 2022 09:49:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2F71F61D69; Wed, 29 Jun 2022 16:49:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A0D2C34114; Wed, 29 Jun 2022 16:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656521397; bh=vCB/w5Leyy+k2QVY651Bo02Dw7tEAmiNBIxFE6QkOJU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lX8FUqI6z1ZWknPp/dG7XUkUpBgEzjahm/JdC4pp4ANnlPXj/3HwpNlTglikOVHKS Cv3cLRFXxxKEpXbbkfez8QnSguevQezWIM/D2lqsL0u594ZjiGWx1/FjOwZVh1olfz PQF4d/gFONb7fq5tynHq59n/LA7v4XyF/BJxqSAk= Date: Wed, 29 Jun 2022 18:49:54 +0200 From: Greg KH To: "Jason A. Donenfeld" Cc: Herbert Xu , LKML , linux-wireless , Gregory Erwin , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Kalle Valo , Rui Salvaterra , stable Subject: Re: [PATCH v8] ath9k: let sleep be interrupted when unregistering hwrng Message-ID: References: <20220629114240.946411-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Jun 29, 2022 at 06:15:49PM +0200, Jason A. Donenfeld wrote: > On Wed, Jun 29, 2022 at 5:28 PM Greg KH wrote: > > > > On Wed, Jun 29, 2022 at 01:42:40PM +0200, Jason A. Donenfeld wrote: > > > --- a/kernel/sched/core.c > > > +++ b/kernel/sched/core.c > > > @@ -4284,6 +4284,7 @@ int wake_up_state(struct task_struct *p, unsigned int state) > > > { > > > return try_to_wake_up(p, state, 0); > > > } > > > +EXPORT_SYMBOL(wake_up_state); > > > > Should be EXPORT_SYMBOL_GPL(), right? > > The highly similar wake_up_process() above it, which has the exact > same body, except the `state` argument is fixed as TASK_NORMAL, is an > EXPORT_SYMBOL(). So I figured this one should follow form. Let me know > if that's silly, and I'll send a v+1 changing it to _GPL though. I'll let the maintainers of this code decide that, I wasn't aware of the other symbol above this. It's their call, as it's their code. thanks, greg k-h