Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp651194pxb; Sat, 6 Mar 2021 11:53:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4S1xHg7hav4uuAe4bf9nNZpVltMt9J0MtItjtcmhC3DUlhYKoMwHYoV+ktMk4drvM4mXP X-Received: by 2002:aa7:c815:: with SMTP id a21mr15285325edt.38.1615060427769; Sat, 06 Mar 2021 11:53:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615060427; cv=none; d=google.com; s=arc-20160816; b=SkNOsaGjMCjIrCFG+3KXMvQilcM9g6qIVqca3id49aPLeSYVslFSeEo2AY6sZnX05i hDAP2WP9tMnB1Y7gtZFGXrhw+MM38n/gLCVbM27ceJfzTqq//wo4f0uiUbPje+IFyd0A rK1tsYVVzGl2BhAd6cED3gSwGiddNJRDu+zRumBajgoCEUrHDmsobgSw03+TnYmYKp2t 1y9a8sx82oErtgh8Bc6S4ufZUoWYcSRgibLZnHNxMUuWPFHjM/awfHabz25POLoe5wcj JMd+i4AThZW34tMw2XpG5AIerbznkl7vFW4aE5u5NEaBJze6rhtaMiTVz8/3nRLEqB/I fB/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=SawKOOyQ1vlNQC1p3tm3qvoltBI/YC72sSTNIxokIes=; b=N4nle9qHy35AUnOtWmf65C+9BtDAszYsWEnJsSqB04dWcG5/rhCkI0q1vsN8dZgoaM XxI1CM17wC27YSdzY4wYGkls3xgODH7meOm7/LmmrBeI1eg1s5YxAaWqPhO3HuiPCKu4 i8kfO8orYbKuvvG6ef2HrLJYGsO3n/7QVO7qUzVjAVzmL/w0fy3YJtubonWf7qsXMHW/ gAG3GbMkeRzCPyIJYBlMbE9exdbv+QEBxX4q5uv7pUmUDSnBE2TCa9bTpjkN1m0q07al ie/8GCPfhIrI+0lzRh5ved/H1CuBHxCeCuk41mC3Rd4oHVT547OywzcY5W1VGOERYp65 DahA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RSkUOz4a; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si4800332edl.282.2021.03.06.11.53.25; Sat, 06 Mar 2021 11:53:47 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RSkUOz4a; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231177AbhCFTww (ORCPT + 99 others); Sat, 6 Mar 2021 14:52:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbhCFTww (ORCPT ); Sat, 6 Mar 2021 14:52:52 -0500 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32060C06174A; Sat, 6 Mar 2021 11:52:52 -0800 (PST) Received: by mail-io1-xd35.google.com with SMTP id u8so5718772ior.13; Sat, 06 Mar 2021 11:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=SawKOOyQ1vlNQC1p3tm3qvoltBI/YC72sSTNIxokIes=; b=RSkUOz4afLnlz1RpuQI0tsCd9wzFn9Idr/hX26vAJuvUS8+6mAT9d5Q6Bxx8/8ri5L hsP8fduT6SULhq+QI1iAiMwNrYPDY3Tg3+zrwliFO61CjAe5VvtXRhNyEkBogooD5KiZ E0BqexAbIfnO9hbrKdS+UKw1FbXgxzRGmQiGE8mff6ARMYW9C/EEJQ2k5Ktt+TZLt7vy lhUJRmDAuWb4aWqDmgQQTGg4rxIv9t0/DvQaJiybmcQm1L9gHCOXU7y1wIOwpdDE1oGu Lxf1/ZA5ETcZeCZqtmksW+plYm+MXBhaXqfBKKd9KketX7IDd4dmhFvi0xbZgdsDG3RH O2+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=SawKOOyQ1vlNQC1p3tm3qvoltBI/YC72sSTNIxokIes=; b=VgN5GTW9fHWOdQubiAyGn3qLHiwgINPkceItMAY1uaXB6zfmCDlyQs8Q1kcpYf+FNk oC8MSUhCSMqsr5in13fH8TC16+6kwwOSPLBFrSoGojReg62rvErEnfu7XloOcanD+EyQ LpzcHcKXDgCzBtAiPReTsK1NK7dAQZEOJUHIgBj0Bz2fQLdRjDR4YjSKEovhK4NGFNZf SipMbEC3lDJhvsMzkUFw6hofxVHwcoMR9HRWazYOuvdLACDXRlNw+PUf6vJhr2dY0hV7 sn8HNRtkCVrRvYme1hKQ0oqAxeqtMWOapEx7IkbHOBHk7zdwOBHqlrd7L+MahjLRilR4 2eIA== X-Gm-Message-State: AOAM530W1uNoAvz3onUjurOLj01OdVqJjyt7jvrQt/9MSs9AzpbqSYc8 nhSwA0AJfr0FXvv5yqxv6Xf7h58rmdgioyMmfd4= X-Received: by 2002:a02:9a0a:: with SMTP id b10mr16014069jal.132.1615060371492; Sat, 06 Mar 2021 11:52:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Sat, 6 Mar 2021 20:52:15 +0100 Message-ID: Subject: Re: [PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc To: Hugh Dickins Cc: Luca Coelho , Kalle Valo , Mordechay Goodstein , Jiri Kosina , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, Mar 6, 2021 at 8:48 PM Hugh Dickins wrote: > > There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: > move the CONFIG_IWLMVM guard up before the problematic SnJ workaround > to fix the build breakage. > > Fixes: 930be4e76f26 ("iwlwifi: add support for SnJ with Jf devices") > Signed-off-by: Hugh Dickins See "iwlwifi: pcie: fix iwl_so_trans_cfg link error when CONFIG_IWLMVM is disabled" in [1]. - Sedat - [1] https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=62541e266703549550e77fd46138422dbdc881f1 > --- > > drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- 5.12-rc2/drivers/net/wireless/intel/iwlwifi/pcie/drv.c 2021-02-28 16:58:55.082425755 -0800 > +++ linux/drivers/net/wireless/intel/iwlwifi/pcie/drv.c 2021-03-05 18:42:53.650809293 -0800 > @@ -1106,6 +1106,7 @@ static int iwl_pci_probe(struct pci_dev > } > } > > +#if IS_ENABLED(CONFIG_IWLMVM) > /* > * Workaround for problematic SnJ device: sometimes when > * certain RF modules are connected to SnJ, the device ID > @@ -1116,7 +1117,6 @@ static int iwl_pci_probe(struct pci_dev > if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_SNJ) > iwl_trans->trans_cfg = &iwl_so_trans_cfg; > > -#if IS_ENABLED(CONFIG_IWLMVM) > /* > * special-case 7265D, it has the same PCI IDs. > *