Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp261889pxt; Fri, 6 Aug 2021 01:06:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwafi/z+eFy2dhiuyhCFxcCwvPoP5lVForGDUZrmPVSab7v6isJqkKFdlOLABoQtHLr8rzF X-Received: by 2002:a02:c9c4:: with SMTP id c4mr6776721jap.67.1628237165065; Fri, 06 Aug 2021 01:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628237165; cv=none; d=google.com; s=arc-20160816; b=evPF9/yLVD0ktAYPdpBX+VjAUDjj+NAVJNCvDrAU7WYvaMk9JZrd2Ievm+ovAje1yP naGsSnc81Ro8JajAdQaE4OJJjjt9r+X31Ldxnjuwdj7jBq3W1KAPBq+qP1mtt0EncmAF sEdfrDlB7mbSiXhLACVMFzFHnrFqVwSYwcFeW/DKWU2DMPXIMUmBIOVtLlkr9O6BB2nr PRpeo/Wyur2IQm6fUYVREM6iw8yeNEP2Htiz9XZJDLk7Frv/JF0VkeusbGduOWG4vcv1 EuycJQiZCJ2+DzyJ8ouMl9g3CLBERvgMxJN3XtRTxGb4I42JhURkJfrfsMh7698QPf5y hJFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=JUttS+GWKev5a88nTDm24dqUBW82rfvG+Q3c4z0QO88=; b=tz3wxmMLjLqz6bhe1nzAf0F0Wld8YU9G6JdUQbx+Dp1p+RK3o96QuA8ElqO9KX6AKX BXdvugcUwltkkZyRXcLlVNuamIa3+0v3vnEA82KHGyJ1uhahE/UnAHZF1Z91RujHGEAW MMm0dtV2AbfgfV/8dzB09+PdXDKffduvIrXc2IIfdaU+E9QURnax0/HRaUHsGdGAvj6y F5V4soyIHQfU/2DUmluPIHWcRZsiIHKatSymrVQC/RTQWVK4z9lsBcr+xtZYUbz3NdSq /K1ilOgTdtpmjE+qIMgawP0lAtUoEgyxX4pw+RHgugbrEiHyF/xzqkgzq8AbJXA1EpXA 0HUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=nu40klJT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n14si9737933ilk.78.2021.08.06.01.05.52; Fri, 06 Aug 2021 01:06:05 -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=@walle.cc header.s=mail2016061301 header.b=nu40klJT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243586AbhHFHVo (ORCPT + 99 others); Fri, 6 Aug 2021 03:21:44 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:54937 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243567AbhHFHVm (ORCPT ); Fri, 6 Aug 2021 03:21:42 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id A4FC322239; Fri, 6 Aug 2021 09:21:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1628234483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JUttS+GWKev5a88nTDm24dqUBW82rfvG+Q3c4z0QO88=; b=nu40klJT1csH3kR8IjmlldQTAWXDw1SUSXLvu4c1EYFy19zY44ErCxbJPkWXi5VvUz28mY ip1NxyQMQmyhc4Q0aKImd/K+KmT3OD1aDe6crqws+Z+nnHRruJISp2t+XNp07U3HD914/G tkH1zPW3fcGKSwzjVEhy5m5LJAvLhbM= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 06 Aug 2021 09:21:17 +0200 From: Michael Walle To: Daniel Golle Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Andrew Lunn Subject: Re: [PATCH] ARM: kirkwood: add missing for ETH_ALEN In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am 2021-08-06 00:23, schrieb Daniel Golle: > After commit 83216e3988cd1 ("of: net: pass the dst buffer to > of_get_mac_address()") build fails for kirkwood as ETH_ALEN is not > defined. > > arch/arm/mach-mvebu/kirkwood.c: In function 'kirkwood_dt_eth_fixup': > arch/arm/mach-mvebu/kirkwood.c:87:13: error: 'ETH_ALEN' undeclared > (first use in this function); did you mean 'ESTALE'? > u8 tmpmac[ETH_ALEN]; > ^~~~~~~~ > ESTALE > arch/arm/mach-mvebu/kirkwood.c:87:13: note: each undeclared identifier > is reported only once for each function it appears in > arch/arm/mach-mvebu/kirkwood.c:87:6: warning: unused variable 'tmpmac' > [-Wunused-variable] > u8 tmpmac[ETH_ALEN]; > ^~~~~~ > make[5]: *** [scripts/Makefile.build:262: > arch/arm/mach-mvebu/kirkwood.o] Error 1 > make[5]: *** Waiting for unfinished jobs.... > > Add missing #include to fix this. > > Cc: David S. Miller > Cc: Andrew Lunn > Cc: Michael Walle > Reported-by: > https://buildbot.openwrt.org/master/images/#/builders/56/builds/220/steps/44/logs/stdio > Fixes: 83216e3988cd1 ("of: net: pass the dst buffer to > of_get_mac_address()") > Signed-off-by: Daniel Golle What kernel is this? I've just tested with this exact commit as base and it compiles just fine. I'm not saying including the file is wrong, but it seems it isn't needed in the upstream kernel and I don't know if it qualifies for the stable queue therefore. -michael