mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
5b522e4969
This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Martin Schiller <ms@dev.tdt.de>
25 lines
846 B
Diff
25 lines
846 B
Diff
From ef98b183d8fc7187a2efcc21c8f54f3cf061d556 Mon Sep 17 00:00:00 2001
|
|
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
Date: Tue, 17 May 2022 22:39:58 +0200
|
|
Subject: [PATCH 737/768] net: dsa: lantiq_gswip: Change literal 6 to ETH_ALEN
|
|
|
|
The addr variable in gswip_port_fdb_dump() stores a mac address. Use
|
|
ETH_ALEN to make this consistent across other drivers.
|
|
|
|
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
---
|
|
drivers/net/dsa/lantiq_gswip.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/dsa/lantiq_gswip.c
|
|
+++ b/drivers/net/dsa/lantiq_gswip.c
|
|
@@ -1406,7 +1406,7 @@ static int gswip_port_fdb_dump(struct ds
|
|
{
|
|
struct gswip_priv *priv = ds->priv;
|
|
struct gswip_pce_table_entry mac_bridge = {0,};
|
|
- unsigned char addr[6];
|
|
+ unsigned char addr[ETH_ALEN];
|
|
int i;
|
|
int err;
|
|
|