Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7779436ybl; Thu, 16 Jan 2020 05:33:13 -0800 (PST) X-Google-Smtp-Source: APXvYqywbZyvypewBlkcJjUjoqKsoutmy4Cr4IjMbMjDU+hG7AEdEAJJTHlhouhSwQ3Pp90eWtfl X-Received: by 2002:aca:c494:: with SMTP id u142mr4176907oif.86.1579181593655; Thu, 16 Jan 2020 05:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579181593; cv=none; d=google.com; s=arc-20160816; b=mUUlmOTDMMnwVSJYyXoUHM18lpg/DsmElrriFbMyHH83J1rLFoXpFo4hADLclcQAcp Pj+wo2z67pbKXV8lPBdm2qEGohtIxFMdKHyJH0ycTB1Lv4W3gg6k9+GoSCkUy+82h7FN zIxPGhvtM8mfjmhPoeIgFTQAA5kfiXFzhEoAXBMB4Uretu3Qz/ut1NmiSdVq2d3BfcUK LEPCKbhxq9pMP5uYQYkc536a+OqU6LqtS5hZmvKNRjIlzzHl7mAvwjXwaJ4c1SPa32OB phi30UoEcSTF/jkytMTdd0zxnJdqfRGQWDY9e+dpVwdsBiYbUyMTgoNdFC7rTrvfpCub mkNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Xzvkw4k74OGxTcqDMmpN0Jp9+uFcLTduqChxkESOASw=; b=TzNEd3T7PP23zKVnmAAhawCCIj6hJNONRHeoDgoqX849R60D8hdkE0a0hm0a2MyMcx dBxWSXXov5oCOPTOXOG6QW1oTwv/rwLrLjVm8diGWFhnag6/gIFfNZzQcRVX+QLL+gEB u7x665hu9JHET77PAQCTHL2dckgJk+pwMnSlRcv8Cx3HB3M2CS3UXxhZcZdv47ihGOW8 aHYOoJoogtXyfkHBp1ccCZpo2QnYT+CN9TmsSDU3Q8wsIHiGd3h/BOevevy6dONG+vY8 1hzVRKh25vYWgk4VwAJ7mjMVGVEoMnTupm/MWGsAw7HRNH/YkfM1BMEXZUDmS0u60m4t t+DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TlffI7oL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 9si10270199oiz.237.2020.01.16.05.33.01; Thu, 16 Jan 2020 05:33:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TlffI7oL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729019AbgAPNbi (ORCPT + 99 others); Thu, 16 Jan 2020 08:31:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:40130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgAPNbi (ORCPT ); Thu, 16 Jan 2020 08:31:38 -0500 Received: from cakuba.hsd1.ca.comcast.net (c-73-93-4-247.hsd1.ca.comcast.net [73.93.4.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C4048207E0; Thu, 16 Jan 2020 13:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579181498; bh=crblO558LGiGCWytSCUuU11G0Dyhp4d0qeM7544ApqQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TlffI7oLh12zrTDkNF+oi214C9rfqLFPmOqF43dh47yQxdqzHTfLkEr3FhPE/87em NWATxms/hlOpXG1dz7HBZjRkuYebQ5NbWFMf5L62WUvmdFFvI4NZcXwgmabEF4SvAs lSpJdGzxams3UqMhc3QPQWhgDycKhQVrbmA9nCVQ= Date: Thu, 16 Jan 2020 05:31:37 -0800 From: Jakub Kicinski To: Hongbo Yao Cc: , , , Subject: Re: [PATCH v2 -next] drivers/net: netdevsim depends on INET Message-ID: <20200116053137.4b9f9ff9@cakuba.hsd1.ca.comcast.net> In-Reply-To: <20200116131404.169423-1-yaohongbo@huawei.com> References: <20200116131404.169423-1-yaohongbo@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Jan 2020 21:14:04 +0800, Hongbo Yao wrote: > If CONFIG_INET is not set and CONFIG_NETDEVSIM=y. > Building drivers/net/netdevsim/fib.o will get the following error: > > drivers/net/netdevsim/fib.o: In function `nsim_fib4_rt_hw_flags_set': > fib.c:(.text+0x12b): undefined reference to `fib_alias_hw_flags_set' > drivers/net/netdevsim/fib.o: In function `nsim_fib4_rt_destroy': > fib.c:(.text+0xb11): undefined reference to `free_fib_info' > > Correct the Kconfig for netdevsim. > > Reported-by: Hulk Robot > Fixes: 48bb9eb47b270("netdevsim: fib: Add dummy implementation for FIB offload") Looks better :) Still missing a space between the hash and the bracket, but: Acked-by: Jakub Kicinski While at it - does mlxsw have the same problem by any chance?