Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5459738pxu; Tue, 22 Dec 2020 18:44:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJWvciMnAlzKDwUciG2obCogI6W/72Vj/YhJo8BZprK7C14gqd9KbjaRBwp7ssyE5FRTxs X-Received: by 2002:aa7:c60c:: with SMTP id h12mr23061254edq.145.1608691461326; Tue, 22 Dec 2020 18:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608691461; cv=none; d=google.com; s=arc-20160816; b=PCq1CEU+x0SFDaZIV9yPlJWZA46oKCPe1yFl+lSaSP9PtpHvYdsbGtLUxdKxQx/r3g vJxU2U4yASSfgEClprwORQnZdzPxI7aKtraBSCP4W4dLHPXTXzZeY28GuqA56rvRouCs o9ukS+28ZU+HIuPjamb29Xb4TLeaniV5WrGNQnTqtQN6KKgC0mNv/4/ydNU92vB/hGSd iPGXQ4mAXPobyuJdPl1Y/v4gm/e9uv7aeRrNjPle5Ane7FwwRiZohL6mrJDs9X2reO4X bH5SChQqQ9QeluNjS0MTekToSdOWcIdrGrPpEBupt06vZNhzuY0BE4BSRbTjsXSeo2mn jtMg== 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:date:subject:cc:to:from :dkim-signature; bh=88rf9UyrX/R9Q99x+XZ5ogpe44HZTpl8Qgq7ggyryHQ=; b=MplGmfPftTh4J5EJh6TpWrX50FNYpTzNpoKpj97QKom1rlkg0ztKK7EDQ2jdDHEM5I EgmPcowfWb8vAAE9D7GvCaMs0I8sJM+BO+f1WTMuFnPlWwHqg3jIUe1AjL6uHWcc+K7m +9psrt0D9x5xG3bNIgkUDqPswRYfczeJafwG6nlJAKjQj9OajxRTs4q4U9So/tnjODI4 IfB24grqIpabozzHGoXgqwonUbYXm21KsEZDfQ0OTNZUYZujGolPdADTk09gUaRWoiQL g0FCMoVDtWMRq45XmY1TIlMNmTc9ySrHcFmYCoCZAYOoIFznFczL+JlG+E4WAkXn/MUl KCXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RiZxyNUW; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb9si12384346ejb.366.2020.12.22.18.43.58; Tue, 22 Dec 2020 18:44:21 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=RiZxyNUW; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730851AbgLWCl7 (ORCPT + 99 others); Tue, 22 Dec 2020 21:41:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:51318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728848AbgLWCXT (ORCPT ); Tue, 22 Dec 2020 21:23:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A10D4225AA; Wed, 23 Dec 2020 02:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608690178; bh=fjgtExWZPnGJ3WXsk0hpeCWTgmFczn/s8VSI2lMl0as=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RiZxyNUWR6XEg/mak24WtT14+ndgvuogPniH41Z8i0gKzbNlJNmz/kZEQ//cE47QB y695QC8+XEXWKXpJKGrBQqZsaxrJSk3Nsv0lWUF5BlAkfj+tQiw1litlkM5Dn1vLVA HEmmkvterqBClC/x+90sOhpZS0YNdzOXmtb00RcAzBTbbuA+/d0nuYP0hurYNBHlHY suQqyigww9ODFYg899sZtbYFarxxr7XGbA7pw/D+I6tERlBrf8Mt7VdFdlqcmQZSAp 57qTnjT41YiFLT/eMQGY/hv3p60semkeXAFWi5bLKJBqMmCuBccwWfnWsNDBWhX8v8 5JOgCNVoI5A4w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , Jakub Kicinski , Arnd Bergmann , netdev@vger.kernel.org, Sasha Levin Subject: [PATCH AUTOSEL 4.14 04/66] staging: wimax: depends on NET Date: Tue, 22 Dec 2020 21:21:50 -0500 Message-Id: <20201223022253.2793452-4-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201223022253.2793452-1-sashal@kernel.org> References: <20201223022253.2793452-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 9364a2cf567187c0a075942c22d1f434c758de5d ] Fix build errors when CONFIG_NET is not enabled. E.g. (trimmed): ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_alloc': op-msg.c:(.text+0xa9): undefined reference to `__alloc_skb' ld: op-msg.c:(.text+0xcc): undefined reference to `genlmsg_put' ld: op-msg.c:(.text+0xfc): undefined reference to `nla_put' ld: op-msg.c:(.text+0x168): undefined reference to `kfree_skb' ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_data_len': op-msg.c:(.text+0x1ba): undefined reference to `nla_find' ld: drivers/staging/wimax/op-msg.o: in function `wimax_msg_send': op-msg.c:(.text+0x311): undefined reference to `init_net' ld: op-msg.c:(.text+0x326): undefined reference to `netlink_broadcast' ld: drivers/staging/wimax/stack.o: in function `__wimax_state_change': stack.c:(.text+0x433): undefined reference to `netif_carrier_off' ld: stack.c:(.text+0x46b): undefined reference to `netif_carrier_on' ld: stack.c:(.text+0x478): undefined reference to `netif_tx_wake_queue' ld: drivers/staging/wimax/stack.o: in function `wimax_subsys_exit': stack.c:(.exit.text+0xe): undefined reference to `genl_unregister_family' ld: drivers/staging/wimax/stack.o: in function `wimax_subsys_init': stack.c:(.init.text+0x1a): undefined reference to `genl_register_family' Cc: Greg Kroah-Hartman Cc: Jakub Kicinski Cc: Arnd Bergmann Cc: netdev@vger.kernel.org Acked-by: Arnd Bergmann Signed-off-by: Randy Dunlap Link: https://lore.kernel.org/r/20201102072456.20303-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- net/wimax/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wimax/Kconfig b/net/wimax/Kconfig index e4d97ab476d58..945bdf4738eb6 100644 --- a/net/wimax/Kconfig +++ b/net/wimax/Kconfig @@ -4,6 +4,7 @@ menuconfig WIMAX tristate "WiMAX Wireless Broadband support" + depends on NET depends on RFKILL || !RFKILL help -- 2.27.0