Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3385252pxb; Mon, 17 Jan 2022 19:15:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzBi7tewlKeHJLUJf5lFEol0Vq5e70iLsarDkVafoxt+3XT+dBi4dblwh8EC2I17H3duUu X-Received: by 2002:a17:902:c206:b0:14a:4122:1ed with SMTP id 6-20020a170902c20600b0014a412201edmr24941253pll.68.1642475759104; Mon, 17 Jan 2022 19:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642475759; cv=none; d=google.com; s=arc-20160816; b=A05mEBJduKpnXXEKzp7liY1dwq3PueiwkaIqYtweOg7k/3b8FUiOjVEP0FHkxgvuSo WgN+JCfsKRLEjUp9sVJSVtmIKHJX+bpMuE3LIQz+jzHurYDxZ9zrrMc7H1o2bZNkfyuc IHFdTql0UkPTc/mjoxrN7dFXLQxPBO7Gf3zVUCsPqAHjWy1OJYG/c8hZHffw5dzcV10o 7UZ+T3nMn33BkDBK9FsO00PXbYvfCjSptSPKc+Xxqgmm7QtHnFKfGS+44YWe0rW5wUke XTrLAAN558T7SFP/6rWPr+taqHsiY+zhEDX2hoxmsH8hrzm17fcOXWEGUpjPxWoROgnB 9eVQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+tFm/tl+3+BsaK1Of+AvmsNklrXTd3zyTkoUKaqToQ4=; b=xQRenZR/0o3us3+hZaAdfSsqZFgaH4IWSR41nrnuVZWAoL+UehUs48QQAY/nnkgUB4 5BcIGIMcIGIx07Qe0lblwmQSv9vmQXV96dcdECrdEX9uABxYHwQJWyK1AqOLQLyyeOym 5G0tiZsskgP40Z+/xGWSGuxp22+G9Jw22mLHK3FPoS4691Ainttqar/gn9TKo4h9x8mG ZL4fGrfV2jZ2uiV5MvJoAQ9Qp3Pvd5iizCk0cQFJszXKN2gk6bzlPEmHanhqejd1MRO/ xw14l26nDL1BKvaF9PuHTDDMz63X9OCrQaC1MoPQ/nYc1FsrThG7K63rUWC1SZKyzfoS rGjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z7cvNur5; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si15729827pga.71.2022.01.17.19.15.47; Mon, 17 Jan 2022 19:15:59 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=Z7cvNur5; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245471AbiARCYE (ORCPT + 99 others); Mon, 17 Jan 2022 21:24:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244399AbiARCWn (ORCPT ); Mon, 17 Jan 2022 21:22:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73905C06176A; Mon, 17 Jan 2022 18:22:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 384EBB8124B; Tue, 18 Jan 2022 02:22:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B04AC36AE3; Tue, 18 Jan 2022 02:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642472560; bh=5jX8eDGS27Wfmkc8/P9LsCE6OkLNSfvuJ5z8AnFEDeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z7cvNur5/5h5fzJy9wAVWFmAURs6yBfJCxiNT0FaQtObyffcUL/utd3pFeK+wMmHV J1e1FZZazgY0vmJ0nP04LyA14ZYy79CSasYMYkqm9gowaEmFIEMQiVE7AHRgsrmU5Z cik/tEwKVYS+mN085UjhraznX/GDNclvM5xOvSiJb5OCuBEmMi5XaDF65yYQulKHhE QD3EpgI2UnnBXcyhQBRvbYo7grQUugiL7oCISf/0Y2JIx53A/S2dN6BED0DnhhExot OQGTzp2qiYQ9fPWO4RP4mv+PIBy3/VxuPmBEqgoIszDUoWa+sqxdKC2cvz1IPkSnJG XE4HhfwOUss5A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jakub Kicinski , "David S . Miller" , Sasha Levin , geert@linux-m68k.org, linux@roeck-us.net, arnd@arndb.de, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 5.16 053/217] 82596: use eth_hw_addr_set() Date: Mon, 17 Jan 2022 21:16:56 -0500 Message-Id: <20220118021940.1942199-53-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118021940.1942199-1-sashal@kernel.org> References: <20220118021940.1942199-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jakub Kicinski [ Upstream commit 0f98d7e478430b64d9520a23585e02be5f8b1b2a ] Byte by byte assignments. Fixes build on m68k. Signed-off-by: Jakub Kicinski Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/i825xx/82596.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/i825xx/82596.c b/drivers/net/ethernet/i825xx/82596.c index b482f6f633bd5..3ee89ae496d0c 100644 --- a/drivers/net/ethernet/i825xx/82596.c +++ b/drivers/net/ethernet/i825xx/82596.c @@ -1178,7 +1178,8 @@ static struct net_device * __init i82596_probe(void) DEB(DEB_PROBE,printk(KERN_INFO "%s: 82596 at %#3lx,", dev->name, dev->base_addr)); for (i = 0; i < 6; i++) - DEB(DEB_PROBE,printk(" %2.2X", dev->dev_addr[i] = eth_addr[i])); + DEB(DEB_PROBE,printk(" %2.2X", eth_addr[i])); + eth_hw_addr_set(dev, eth_addr); DEB(DEB_PROBE,printk(" IRQ %d.\n", dev->irq)); -- 2.34.1