Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp192757pxt; Thu, 5 Aug 2021 22:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFzStPuSGPZIEdv3xJDYdVUpB2jJSGFchK6T4jn/LB3kDeIKgg8t/Z3UyyMdaWiUxpdqtH X-Received: by 2002:a5d:8596:: with SMTP id f22mr1389962ioj.147.1628229085886; Thu, 05 Aug 2021 22:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628229085; cv=none; d=google.com; s=arc-20160816; b=TP61xt6RFl+iJkkhHd4CpJqECr+s6zfz9T6MW9K61cvnkdmMkZ9vPQbowcU+/B77Tp nDHcBm9rKUR4E4OKGhwv0j+HdEmJACWtqYnkZUQfuCsEwP4hUv3JRPLiXAiWICamhRLd oXEWvc+tPW9vnFBp18HIhOWLg2GBJblzG93T+HMISXgeKC0WSlHjqwTPs4eKbjzlVcN+ NsFn4OaxvJz4HTRT4uwsof/GL73jDLHn7CwqpDuIUZ3WxwaCM2WIAmqOGo20NQMDJLIX hgWwwU4xdEiou2NsMYRHXVxpHKQ9K8CNeQOT8157d4SXsuCcx+UlyLTFOqU16mmzlSgY CT3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=mJBEGdIUF8B20CNZXFToUgdr3iv17PjG53ddiUczLJk=; b=BCUEqoHDYRCHQ26gM5YQkRFe6fNarUiQSMgeZqnTyT4Iuv3d5Php1IWU4VJ2iBW+7j 6T7Rb+SV9+Ffi1zHgfNuVLs6o0xhPJ5eTtAM1TtyxAiNPKQvAdIN3XQszF0zM57PxLX/ PjPzmMFkb9NyzXkDwurYTQXbeDIRtYspTfb8vc332UWiz9wMQWha3y3jn1FgVOhrive7 ko5HeyIYV/FGsHSTTftL7utJ+TTqX2xYo0wSoYUT7OXrUkUNnuFWnDyc+f+cTgx/7RA6 ErN30QNqV1nFDAcOC7U4iVEWj71MIPUs0GsbressuWZ8uqPQihyTC9jokuqeRVBPA42d T0tA== ARC-Authentication-Results: i=1; mx.google.com; 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 k2si7531640iol.39.2021.08.05.22.51.14; Thu, 05 Aug 2021 22:51:25 -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; 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 S241416AbhHEWwn (ORCPT + 99 others); Thu, 5 Aug 2021 18:52:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbhHEWwm (ORCPT ); Thu, 5 Aug 2021 18:52:42 -0400 X-Greylist: delayed 1722 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 05 Aug 2021 15:52:27 PDT Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B7A7C0613D5; Thu, 5 Aug 2021 15:52:27 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1mBlm7-00031R-VP; Fri, 06 Aug 2021 00:23:39 +0200 Date: Thu, 5 Aug 2021 23:23:30 +0100 From: Daniel Golle To: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "David S. Miller" , Andrew Lunn , Michael Walle Subject: [PATCH] ARM: kirkwood: add missing for ETH_ALEN Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/mach-mvebu/kirkwood.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 06b1706595f4c..a493a896e6ee3 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include -- 2.32.0