From patchwork Sun Jan 3 21:36:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11995995 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B61A7C433E6 for ; Sun, 3 Jan 2021 21:39:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8581321D7F for ; Sun, 3 Jan 2021 21:39:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727805AbhACVjD (ORCPT ); Sun, 3 Jan 2021 16:39:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:37062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbhACVjC (ORCPT ); Sun, 3 Jan 2021 16:39:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4F6F8206A1; Sun, 3 Jan 2021 21:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609709902; bh=HlL13LUuAgV0qw5iXRVni4ysniXjQjYwFLmwaw+H6js=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HJV6eLasBvzgTzh5kczpRwHYEKwHxaObJxYBufP64Tb7DU6Gi5WvVDVmoIyM9g6z7 Tjwz7TZGIK4dEhCbGoZ2Ef01N76VvCHvduTEiWLCqm/DyLrloG0oaHNL+jLKsDd8/w UupbxL1HV1xEVUxqQZBbD9RZiod4WUMZe1vYGJY9nzLz5NPrD4WgjEWdRnxJr6A/hb QlArS4hwwi77q5PsRhDkqlwX4tLDNnlsKGLYMNEq7itJGJKxdUEo67Qsz2GRLWnGRc r39KlD94YPw97gE8W31YRXFf7gP/4mdXkBOvC95IYkwi2AXqPElhRplrX7cUWbBbdJ hCqMFRAqn305w== From: Arnd Bergmann To: Maya Erez , Kalle Valo , "David S. Miller" , Jakub Kicinski Cc: Arnd Bergmann , "John W. Linville" , Vladimir Kondratiev , linux-wireless@vger.kernel.org, wil6210@qti.qualcomm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] wil6210: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:36:20 +0100 Message-Id: <20210103213645.1994783-4-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210103213645.1994783-1-arnd@kernel.org> References: <20210103213645.1994783-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Arnd Bergmann Without crc32, the driver fails to link: arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o: in function `wil_fw_verify': fw.c:(.text+0x74c): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/net/wireless/ath/wil6210/fw.o:fw.c:(.text+0x758): more undefined references to `crc32_le' follow Fixes: 151a9706503f ("wil6210: firmware download") Signed-off-by: Arnd Bergmann --- drivers/net/wireless/ath/wil6210/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/wil6210/Kconfig b/drivers/net/wireless/ath/wil6210/Kconfig index 6a95b199bf62..f074e9c31aa2 100644 --- a/drivers/net/wireless/ath/wil6210/Kconfig +++ b/drivers/net/wireless/ath/wil6210/Kconfig @@ -2,6 +2,7 @@ config WIL6210 tristate "Wilocity 60g WiFi card wil6210 support" select WANT_DEV_COREDUMP + select CRC32 depends on CFG80211 depends on PCI default n From patchwork Sun Jan 3 21:36:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11995997 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB005C433E6 for ; Sun, 3 Jan 2021 21:39:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 99C642078D for ; Sun, 3 Jan 2021 21:39:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727835AbhACVj3 (ORCPT ); Sun, 3 Jan 2021 16:39:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:37136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbhACVj2 (ORCPT ); Sun, 3 Jan 2021 16:39:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 354FB2078D; Sun, 3 Jan 2021 21:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609709927; bh=nTncnXWTS4UYYvu6MDihO1QdQbWTbMfi56wliMoTwII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cIaQfci9xhahasNhtRL7b2qyz6kfKfVnd6Og7qgN3/GXl2NN0UZ5gN0XcxsUH8C1v VB9rFsfIMxuwpm6IeoEdhQm3IUNd1VUaHrOFvls5U7WLYwwaJgE1XWraaRqFfy6CPn 8yJjBR9YsAIO1BnJdyXIA5x6DuOzCaBrSUe5sYaS/e5qoXT19AHab0n9+24GEflA5t HEV7sXo3YwopwATYZZjm7CXKKSV54pAUP6XIadkeqWvGcypsvI1/Mutqd6m2HZ/RFq 2WoODV9b7a6PZfZ9lnG8XRx+oAYUrEADdrW6SHoKXkUv049QuBuSJjyq8WU8RIX0wH TcXNMmWuIhMJA== From: Arnd Bergmann To: Johannes Berg , "David S. Miller" , Jakub Kicinski Cc: Arnd Bergmann , Tova Mussai , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] cfg80211: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:36:21 +0100 Message-Id: <20210103213645.1994783-5-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210103213645.1994783-1-arnd@kernel.org> References: <20210103213645.1994783-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Arnd Bergmann Without crc32 support, this fails to link: arm-linux-gnueabi-ld: net/wireless/scan.o: in function `cfg80211_scan_6ghz': scan.c:(.text+0x928): undefined reference to `crc32_le' Fixes: c8cb5b854b40 ("nl80211/cfg80211: support 6 GHz scanning") Signed-off-by: Arnd Bergmann --- net/wireless/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig index 27026f587fa6..f620acd2a0f5 100644 --- a/net/wireless/Kconfig +++ b/net/wireless/Kconfig @@ -21,6 +21,7 @@ config CFG80211 tristate "cfg80211 - wireless configuration API" depends on RFKILL || !RFKILL select FW_LOADER + select CRC32 # may need to update this when certificates are changed and are # using a different algorithm, though right now they shouldn't # (this is here rather than below to allow it to be a module)