[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190529.141915.945026439348535112.davem@davemloft.net>
Date: Wed, 29 May 2019 14:19:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: peppe.cavallaro@...com, alexandre.torgue@...com,
joabreu@...opsys.com, mcoquelin.stm32@...il.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH net-next] net: stmmac: Fix build error without
CONFIG_INET
From: YueHaibing <yuehaibing@...wei.com>
Date: Tue, 28 May 2019 17:10:40 +0800
> Fix gcc build error while CONFIG_INET is not set
>
> drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.o: In function `__stmmac_test_loopback':
> stmmac_selftests.c:(.text+0x8ec): undefined reference to `ip_send_check'
> stmmac_selftests.c:(.text+0xacc): undefined reference to `udp4_hwcsum'
>
> Add CONFIG_INET dependency to fix this.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists