Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1069880pxb; Tue, 14 Sep 2021 15:50:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMBKGAnaB9PgjPXD9k5XkBvCDjF5EJIw8kgnAsozS0ibdJzfeYO0XDwGFNqjiQQ7fg+PpV X-Received: by 2002:a05:6512:3a89:: with SMTP id q9mr5538877lfu.515.1631659836654; Tue, 14 Sep 2021 15:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631659836; cv=none; d=google.com; s=arc-20160816; b=bB9oCTLnZU1Z6vs8d+q/dOloorNszGTL+QHr1xcEImfiY+zUJg4JarOF2BoZMs91Zz qRN3/dbd4dqr2at+cUdyH9rvyHhFpZhzgw773aHOzbGyZdmTEK2d/fTZx+3+WZQtEEDs 59iSL0J9nQjBMaP/29tYxDkaVSTomw5ew7UIywxEHEYJqIjvcnOQYRu5aLULe7JXrld7 MzbgVPBsAJCLC1PWJtJOQ/PrD4XVs5SF+YXGj++TWvHXAsa4kCMfc4oaQuQatL5bEZzA mfWG7DNIrUSDCOesYDHIL9oOfp5xEQ9bbUBwslDeYodEe6X9pT+XRxb4bEp6UKi3LFk5 G/tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=NgZMqBOxNObodZSjMDIHyt0PNPZZdXFN2N/CqmntTFM=; b=ewy/Wvo/R0e6OS3lOpNi/B2hZVVwwSfTpM8j6BEJtfCBiP/dP7Zlrlv/+rC9SawYDe B294/kBuFY9NUyJ7i0o203t11mHCKooYQE7yoMsfCv74aAGHk8cF10K81Pbmzy0tOqRB +33TJnj+HLWvGqxO/HKQDRqxYNOY/GuLjOVbHFaNWPozAZKZWzd7StqI061xgQtLOWac qqcRXh9u8hmf/9MNFKYz8gdBVf4zLno/q32oe55ouI90qbwtkZ04SmcAEnIg6xyOyQcd msO1YdzPjn9mCIwV0YXrfRUTHS1HI0H/vjaXD/nWn0CbeQu9wSRZG+jqCsFZj1LU2N0U IZgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bryanbrattlof.com header.s=protonmail header.b=nhf3S8li; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bryanbrattlof.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si16518857lfq.529.2021.09.14.15.50.09; Tue, 14 Sep 2021 15:50:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bryanbrattlof.com header.s=protonmail header.b=nhf3S8li; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bryanbrattlof.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235596AbhINWqr (ORCPT + 99 others); Tue, 14 Sep 2021 18:46:47 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]:42257 "EHLO mail-0301.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235313AbhINWqr (ORCPT ); Tue, 14 Sep 2021 18:46:47 -0400 Date: Tue, 14 Sep 2021 22:45:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bryanbrattlof.com; s=protonmail; t=1631659526; bh=NgZMqBOxNObodZSjMDIHyt0PNPZZdXFN2N/CqmntTFM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=nhf3S8liJkAq1T/BDhESL1FtcJzciSfJQV4L+im0hX0emr+legpSumjsxDFPfdCeS w23Xuvq67qt++gt/7Av0d7Uuq7DY4UzWFn6eyGu/3ILjZtAep9Rt6jZBW3PZydmurv ATfPA86ccj00/ZcuEK5gS+lhq55BPqK7UynZ77QOVjadz/8pF27rS53nub9tfDtpcp Pov9QugSCgbjWU7OfyIRv+tYqkrEaYIWL4sppESlGsc/9Q0tZE/rc8eF5/MhqCIi4V R3ZFwAFFQojvX15I9DT4WMa2FU8x0wN3AnF1SNdEU2Tgit3tbi4vPiIoQT7amXy0CJ 9phZSSpiTrOIw== To: Dan Carpenter From: Bryan Brattlof Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Reply-To: Bryan Brattlof Subject: Re: [PATCH] staging: rtl8723bs: define wowlan_stub only when CONFIG_PM is enabled Message-ID: <20210914224509.g2fbttqmrjhevftu@h510> In-Reply-To: <20210914085214.GA2088@kadam> References: <20210913140937.1490133-1-hello@bryanbrattlof.com> <20210913234247.ptqjjbilrtkzc4id@h510> <20210914085214.GA2088@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On this day, September 14, 2021, thus sayeth Dan Carpenter: > On Mon, Sep 13, 2021 at 11:42:55PM +0000, Bryan Brattlof wrote: > > I'll be back with a v2 that rips all of this out. > > Or use the __maybe_unused annotation: > > static __maybe_unused const struct wiphy_wowlan_support wowlan_stub =3D { > Thanks for the suggestion Dan; I like this much better. :) I've been poking around with my config today and noticed I can still produce this warning with CONFIG_PM enabled, which means something else is going on that I don't fully understand yet. I may hold off on sending v2 until I make sure I understand what's going on and double check that I didn't bork my config. Thanks from jumping in ~Bryan