Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4726616pxb; Thu, 14 Oct 2021 10:43:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoCmGNOgGgC6vYMLyvcWu3lDpoQ+cUGxz4QUlnNYGiyeBv6WvAkyz9Wzp9xiMLZrYYxKcf X-Received: by 2002:a17:902:fe83:b0:13f:5415:2710 with SMTP id x3-20020a170902fe8300b0013f54152710mr6253466plm.16.1634233380349; Thu, 14 Oct 2021 10:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634233380; cv=none; d=google.com; s=arc-20160816; b=jy6/taepYU/tXl6a9JX0k1TmZKncIxx9CmjzMYZ+YOmqhue8TbebjUi3CMUk8ECO3K e4ZkEkBu7XwaaFPRHHXe7P0joacww28uMjt9zUb08yYtQ8LIpL/L+TZkQzSYtY31Wumu zTsjuJ2AMcaT4BLGztLNemf0fAHMRKXIr/RHdc3SuEQ42F58E8Agki5iT2x6Y9WLZnNj dQolIBL9HrGQXzH7goEesWrGP8/a3R5hnRWtXYCnyc/8RwHzkfBZIeDa6B9gpBiyp8tU 9OVbGD4E6fGR3WC/i7B0BjClcRqTzqjG2OZuHvnb/hoU+sqoYwp7/5XvXmvc+RUzey1k QUWw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RTztesXcEi3ZG2msXgWBlOhxrG6BZ0EKqi+ccCqfEL4=; b=XAzK46RaZPM+jdj8jyEF527u3w+JUcTK2//5KnxHmO1VfJ+EqQtgT3/y0oEh1M3vHt 1uUt0X9Tpqv/jATyeT2tkvxlCI3rHUFye3XpT5mexrcQoq4GwCPheju9oUGzIwVZArDz 9VNNPQSAkFyTA0i6vv4tqGgnBkXN9bM7CHnWySUI+KVqqjqvZCnZYttb7bDz76/e3VKm NRyWGpmbkbJsy9GYpDqymfcEjFyZKddq6PxQXFnt4GiOq8cfptuFCN1Z5xkDXGsD6M2d KjnlqmXEUpFL2Ny478SX1PjMdNL2rHtlkM9MDoIPoyJKtjVnfOeCjkQQ4HKG0dFgTZlg uJLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LywhBSAL; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si4997653plk.246.2021.10.14.10.42.47; Thu, 14 Oct 2021 10:43:00 -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=@linuxfoundation.org header.s=korg header.b=LywhBSAL; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231853AbhJNPCl (ORCPT + 99 others); Thu, 14 Oct 2021 11:02:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:42680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232545AbhJNPBH (ORCPT ); Thu, 14 Oct 2021 11:01:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9F2C4611CC; Thu, 14 Oct 2021 14:58:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634223521; bh=a0+9OBEb2eRujNlUpifMFGOEc++gWGM4NiuJUQPAznM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LywhBSALLpYYckjl8j4ucM+hti2Fnb3h7DEMkHNQwEWVBw9zvxX2LSkKCywOPtpcT LKMO9H8QnTNnpZK1r6oAOhLTaN8Ef0ALDzQRCXTqaX/fkTWDvNFXaolex9Yzs4DKGj +fmALu5/c848pdUebN8zq3tkvHNdufBPsAFeF24o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , "David S. Miller" , Jakub Kicinski , Aaron Young , Rashmi Narasimhan , Sasha Levin Subject: [PATCH 4.19 08/12] net: sun: SUNVNET_COMMON should depend on INET Date: Thu, 14 Oct 2021 16:54:08 +0200 Message-Id: <20211014145206.826314867@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211014145206.566123760@linuxfoundation.org> References: <20211014145206.566123760@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 103bde372f084206c6972be543ecc247ebbff9f3 ] When CONFIG_INET is not set, there are failing references to IPv4 functions, so make this driver depend on INET. Fixes these build errors: sparc64-linux-ld: drivers/net/ethernet/sun/sunvnet_common.o: in function `sunvnet_start_xmit_common': sunvnet_common.c:(.text+0x1a68): undefined reference to `__icmp_send' sparc64-linux-ld: drivers/net/ethernet/sun/sunvnet_common.o: in function `sunvnet_poll_common': sunvnet_common.c:(.text+0x358c): undefined reference to `ip_send_check' Signed-off-by: Randy Dunlap Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Aaron Young Cc: Rashmi Narasimhan Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/sun/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/sun/Kconfig b/drivers/net/ethernet/sun/Kconfig index 7b982e02ea3a..1080a2a3e13a 100644 --- a/drivers/net/ethernet/sun/Kconfig +++ b/drivers/net/ethernet/sun/Kconfig @@ -73,6 +73,7 @@ config CASSINI config SUNVNET_COMMON tristate "Common routines to support Sun Virtual Networking" depends on SUN_LDOMS + depends on INET default m config SUNVNET -- 2.33.0