Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp194923pxb; Wed, 24 Feb 2021 23:16:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRti4m9i9iLeYJ3JipKUoUBgBmTmzo3MVvuolAn+KtiPhajyUlPMOt1Lll+Z0UUnn7zz4T X-Received: by 2002:a17:906:b14b:: with SMTP id bt11mr1447711ejb.162.1614237380380; Wed, 24 Feb 2021 23:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614237380; cv=none; d=google.com; s=arc-20160816; b=Yc2ICNbIytyvbTdlnSSMf0vsQyh0kv/hg/zJVOhlJCAKtLX6ObDXvnvimE7Ro7faak z18vaVb8kdnNtouH5W4Bwjvt246jgjcYFB/jtklupX6L0jnDyesz5w9JaQ/eDL0UqJNk 0iVb+OopxfwZXQE/y4WU0ue1AZanVcp6iBKfJ69hYZypL54JtEwpuFL/2EtULtVy1NIP SAmJBD5J+tHtki3/H6opqB6CSFsZhRMfa4/5XDH4fwhkFOwhVe2kc1tGhYWHWLKT0XVc 8WYU7J3sJ0CP8nhxWHPAbg91L0Lrdr5ZK6Vvdd8C+1GKv0Ak8oGq+RKUnTJjP4fIJfhl BSYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:message-id; bh=mMbs/y2KXRr8aXCGxXb26TKeui2e+t6w5gNymFZ91JQ=; b=EK7MjzL0qPscbyx7I5n7OAxbUZR5fCeandFFXTdri9AbiLrzygLhjrMsgKXFNjPR7w 6LwHrqr+FDXMLMX3z6lfNGxf3JssVfVN5NjHBz350/RuY1Jwg1Q2oRW47f6mAB2fumfv 4gYv1BGBpiga390uohJjs7E2bwxYKKlsTriqBOrLfT5WvypSC3fasVK3GjKIPJkaUKsC VgAi/w80RLLay+ct2Qa7nLOEjqLVjUJsUnpg/rlDaci6LxcZqVilcKyKSvWEvW4IolwF y5jc3xvBsOCiaKW2qJp101imtfVSThuhaRdqrK+4YOBK6BAc8GOW1mT6uEu3i8ZMS/8M zyZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v15si3013454ede.1.2021.02.24.23.15.57; Wed, 24 Feb 2021 23:16:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231375AbhBYHN3 (ORCPT + 99 others); Thu, 25 Feb 2021 02:13:29 -0500 Received: from paleale.coelho.fi ([176.9.41.70]:46980 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233077AbhBYHLd (ORCPT ); Thu, 25 Feb 2021 02:11:33 -0500 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=[192.168.100.69]) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lFAnH-004LOD-QT; Thu, 25 Feb 2021 09:10:40 +0200 Message-ID: From: Luca Coelho To: Kalle Valo , linux-wireless@vger.kernel.org Cc: rdunlap@infradead.org Date: Thu, 25 Feb 2021 09:10:38 +0200 In-Reply-To: <1614236661-20274-1-git-send-email-kvalo@codeaurora.org> References: <1614236661-20274-1-git-send-email-kvalo@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.4 Subject: Re: [PATCH 5.12] iwlwifi: pcie: fix iwl_so_trans_cfg link error when CONFIG_IWLMVM is disabled Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2021-02-25 at 09:04 +0200, Kalle Valo wrote: > Randy reported an error on his randconfig builds: > > ERROR: modpost: "iwl_so_trans_cfg" [drivers/net/wireless/intel/iwlwifi/iwlwifi.ko] undefined! > > The problem was that when CONFIG_IWLMVM was disabled we were still accessing > iwl_so_trans_cfg. Fix it by moving IS_ENABLED() check before the access. > > Reported-by: Randy Dunlap > Signed-off-by: Kalle Valo > --- Thanks for the fix, Kalle! Please take it directly to wireless-drivers. Acked-by: Luca Coelho -- Cheers, Luca.