Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp111562lqs; Thu, 13 Jun 2024 05:36:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCViVR+4CrElgxIAxiV5mvUTrWwV+6kxkqRDz/H+YV03uWrogEoEJ9TJaMHeX8z9/PDB63BCQE5Rsz+mlgScE0GsqoG2iT9hGPWOB+GhJw== X-Google-Smtp-Source: AGHT+IE2GUKCiaqOxLioaUaGIsXSYpPhCzWuVvaVTFmNXzffNWHoBDUCo5aO2OvFaMcBpNleAIQJ X-Received: by 2002:a17:902:e54c:b0:1f8:55da:bd1a with SMTP id d9443c01a7336-1f855dabfc9mr16714885ad.25.1718282177070; Thu, 13 Jun 2024 05:36:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718282177; cv=pass; d=google.com; s=arc-20160816; b=OyEMBsyoIqOM47TC3oTpwVu2ecK/BwMxoTv6jauyk6+k0AhPfXvtUa9jgLJz9d8hMC JEBpHcqKlg8SLdRS9fE70jmp32UAjMc/okfETj7Lg7X6pLmWzCqpEzO08RT2bx5TSoJF OFeAvfhK62XwQBRMimHf15a6Ddah8JrDe489AOs1CP/02pfTc+jZMN+KMPqYqsx40yic iik9J7qgFXO4OseJFgAw2jli+RPV9P2giaF4mwU2KTpUsntaQB/PDkDl7EmsnurJhs+6 EVroFAXOAV2ad4WbZQq7dAJDnilfm56KfJ4dYgJlRHOebK6T0Q31OPIh45jl6rfEkfte lWAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:message-id:references:in-reply-to:organization:subject :cc:to:from:date:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=kAJGr/2ZTeXdnPYFyDjQq4mKT6QFGS7OdT3mEXDyCW0=; fh=v3SCYaeCJa93a+n0Uxo5VFFPo3sWNiBtrk6VU3AZNuM=; b=KJZ7ZLXudm2xagXQ7yNErakt2EsyA0aC4QCGYSQLqvTZuG+g5jKm3/SMRj+fDuW1oW y09Gh6Is7+OTpckDu0Fh+U1VYA9jnh256XAHPh1zH5YzN7aNDTZpVwFRFDPz+jhe7BlP ns7X1xFUX463VSmMkjEeDtNKUo1FRFlygbYdDoB71OAwU18uyDV4p71hQGnoYZFY6Obt dS2cWYRkFRaC96vL8OWByT+vqJU1BfuV23t3wcGGGa/Z6NHXALRv+qEPlTFRIZ2msTin 6ebl/rMEAgFa5MJ3TwM+mQFh1PXVa34MIkiF6wpDlwCz5U3WepgcyWA3wu1ZVHz2+jf3 RfPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-213211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213211-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f85820b8f8si9472205ad.74.2024.06.13.05.36.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 05:36:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-213211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213211-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9B174283176 for ; Thu, 13 Jun 2024 12:35:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B906B142E9C; Thu, 13 Jun 2024 12:35:14 +0000 (UTC) Received: from mxout70.expurgate.net (mxout70.expurgate.net [194.37.255.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA87E14199C; Thu, 13 Jun 2024 12:35:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.37.255.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282114; cv=none; b=dDF5bkMBkcvhFCshFNXo+RtZIXea+pRx/YB3QwB4GdDwIeSl13bxwWax37VjuM/CZAD8k4ob8/GeBvkFFDFFJT+wDUZAySK28pKB1rCWOaqp50EnYujxofhw+0/HIoVG9kzPwel5ezAovcX41OEjKX5/OZMn3eeAtNxurYTHqzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282114; c=relaxed/simple; bh=Toz5hjv/Fc2vhd9W5Bvfsxt4JvCxbgfNTxqzBTzdYNc=; h=MIME-Version:Content-Type:Date:From:To:Cc:Subject:In-Reply-To: References:Message-ID; b=EksosMMe8+omhYxMC0R/Ty0b5t7y6qejudvjJ1u/H3qStL3n2LzVRfPSn6Pk5zDgamhY7s+q9/GehUsiorL4Qz31+f1UunwFKI9swRrJCgJ5wRrmPoyLrPp+Ng9QcJ7CqyTF+ChB8QTs3evbBqo9Fz4NKHCwa6Z4lRJNgwTrS0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de; spf=pass smtp.mailfrom=dev.tdt.de; arc=none smtp.client-ip=194.37.255.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dev.tdt.de Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1sHjfa-00234K-PE; Thu, 13 Jun 2024 14:35:10 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sHjfa-00FOry-80; Thu, 13 Jun 2024 14:35:10 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id F01BF240053; Thu, 13 Jun 2024 14:35:09 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 8594D240050; Thu, 13 Jun 2024 14:35:09 +0200 (CEST) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id 25B803852A; Thu, 13 Jun 2024 14:35:09 +0200 (CEST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 13 Jun 2024 14:35:09 +0200 From: Martin Schiller To: martin.blumenstingl@googlemail.com, hauke@hauke-m.de, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 08/12] net: dsa: lantiq_gswip: Change literal 6 to ETH_ALEN Organization: TDT AG In-Reply-To: <20240611135434.3180973-9-ms@dev.tdt.de> References: <20240611135434.3180973-1-ms@dev.tdt.de> <20240611135434.3180973-9-ms@dev.tdt.de> Message-ID: <234a55f08593f7c8d003d87b3ff1aac9@dev.tdt.de> X-Sender: ms@dev.tdt.de User-Agent: Roundcube Webmail/1.3.17 X-purgate-type: clean X-purgate: clean X-purgate-ID: 151534::1718282110-DD5928CF-66249D3A/0/0 On 2024-06-11 15:54, Martin Schiller wrote: > From: Martin Blumenstingl > > 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 > Reviewed-by: Vladimir Oltean > Acked-by: Hauke Mehrtens > --- > drivers/net/dsa/lantiq_gswip.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/dsa/lantiq_gswip.c > b/drivers/net/dsa/lantiq_gswip.c > index 58c069f964dd..525a62a21601 100644 > --- a/drivers/net/dsa/lantiq_gswip.c > +++ b/drivers/net/dsa/lantiq_gswip.c > @@ -1413,7 +1413,7 @@ static int gswip_port_fdb_dump(struct dsa_switch > *ds, int port, > { > 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; Signed-off-by: Martin Schiller