Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp610743lqg; Fri, 1 Mar 2024 15:39:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVG+vDRS/LGQCo4Go3XkqEmdmEdqFrSUvSJmAllyod6ym47KvlQ1i1t9rtfdCW9UYJkxXD6aoLygKedcgoYbYNBX1gKK/S+yatmrqzLZw== X-Google-Smtp-Source: AGHT+IHlO9oJ1IQDd+uIUCFb1Y/5oxjqwmzCKjoJGL1XYr+whQXMzcaRPttUsOBLGWTlKvh3P1px X-Received: by 2002:a50:c94c:0:b0:566:4a85:ceba with SMTP id p12-20020a50c94c000000b005664a85cebamr1874346edh.1.1709336378129; Fri, 01 Mar 2024 15:39:38 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dg12-20020a0564021d0c00b005661754b08dsi1853533edb.325.2024.03.01.15.39.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 15:39:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89228-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VTm+zJzX; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-89228-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89228-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id D917A1F2340C for ; Fri, 1 Mar 2024 23:39:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB91E5F481; Fri, 1 Mar 2024 23:39:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VTm+zJzX" Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60F3B3A28E for ; Fri, 1 Mar 2024 23:39:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709336361; cv=none; b=EsozqtuM6Nq//w2ZFcGJwqlSC11t/Wc/Jb7FAgWJ0+NUqOEQJ35TpQye/C2ExKQ60hqA6/Ev8NpGbhcqLZMXXh2q/3/TxOyQjwMBAnYzxg+Koa6RqU5PBP7QUD62n4e/JMR+4XG54PMMPeoZkDeQr8nzMVPxRfdstq9WHbJilaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709336361; c=relaxed/simple; bh=F5BGi56UFoN3qVYxdYvohQcplCXdZ2ZAGQX5Knd7kmo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=K9Xg4Db5Rn54z+75DhybdAm/d+voKkSbItv5IAMs1dh6o5i21NZpVNQUAtmkvJ8Kehst1jajsbxbYBFFMW3Ymx/IgiBTp5cXCWC1Rzsd1HDHPNLutXvB3Hh5mON8sSRMbghbDytalQgfWPeSsAjpKw/fIixGK4rmwv4hyX0CUGw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=VTm+zJzX; arc=none smtp.client-ip=209.85.128.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-608959cfcbfso31328637b3.3 for ; Fri, 01 Mar 2024 15:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709336359; x=1709941159; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F5BGi56UFoN3qVYxdYvohQcplCXdZ2ZAGQX5Knd7kmo=; b=VTm+zJzXqQkYQOiBLSFiu+/Uvf1NN5hR8Czl7HYRHyKqTewI4qhTvf20XI57x6y5p9 YVlPhjP4ktAyoU9ZcREOIsSxL8zyxkqJ9w02uz8FeuKwGZSKbEYYi2bEc9qfn1X7XcSb wzVD4hhkSMmsyNP+bvgBVdxy7ohKJ8HljTpDvwgHG1uBFTu4KjeoWlrmcVX0e2bT099s l3JkeWzn4L7VSSF/liSX+iwKadiTzb3rviX3bX3s/wtNIHp/8vn+p1s3T8Z9y4xUx+K9 4bKzatERJrismA1SAx8/uDWeh34PmC/FJeG7Vgy8Hjgtgx9EufeSPR4E7CxU3R8Qqfrb TqSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709336359; x=1709941159; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F5BGi56UFoN3qVYxdYvohQcplCXdZ2ZAGQX5Knd7kmo=; b=ksEMqMP5/RDO2U7YYeLofV7q8fJuadL00DLaR/w2Cmkys9V0plbRNn+/tnhF6b6Yqg 8+4rrd6GdbICUL6SRvVujJE4LsXhHa6wWdCfxpCg5uhi1HM2bEK+knFf4pw6NbOS0vf7 WutlcQinUXKEe8PYeWdGPyHZ/rQQw4TNL1BURrF+4VAbotqxJDS+6WHJnLeC0T0I/CmF gmP8HoFo6rftzCtUSyjgJLc1BoU7d1ZD59AhvlC7gjQ/kwama9TW6FrN3bVmm9WUrxLG dbAB/pGI+7P9xtiB2e4iIgY+y4jLhhVA8H7b9fp9vZJCUJPXE/dFGm6Dbl3AjMyX/6CQ IfqA== X-Forwarded-Encrypted: i=1; AJvYcCV3ExpCSO4T7B4vXVAxTTSf15wnXplMxFZXDc3rRhJ7vOtnqFR2RsaCpJq1oSvt2shFGEQGsZ0/ABq/tW3zotTnVDi0o9xLglzCNMw+ X-Gm-Message-State: AOJu0Yy/jbTvigJOJfYJNtZzDw2rE+tMc+MMVVd+wOkkJJj3qtwpZsL2 QiIGix7rlwMcdeIHrdWTebj7f7PDVCvgzgAVwAGKiELguEpf8OBLqqejAe2IDuGjprmclv7gGZa xQIt6xj64WLVjBoXfWoITbyqwBhd6vw5c8+wvPQ== X-Received: by 2002:a5b:ec8:0:b0:dd0:702:577a with SMTP id a8-20020a5b0ec8000000b00dd00702577amr957219ybs.35.1709336359325; Fri, 01 Mar 2024 15:39:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240301221641.159542-1-paweldembicki@gmail.com> <20240301221641.159542-5-paweldembicki@gmail.com> In-Reply-To: <20240301221641.159542-5-paweldembicki@gmail.com> From: Linus Walleij Date: Sat, 2 Mar 2024 00:39:08 +0100 Message-ID: Subject: Re: [PATCH net-next v6 04/16] net: dsa: vsc73xx: Add define for max num of ports To: Pawel Dembicki Cc: netdev@vger.kernel.org, Simon Horman , Vladimir Oltean , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Russell King , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 1, 2024 at 11:17=E2=80=AFPM Pawel Dembicki wrote: > This patch introduces a new define: VSC73XX_MAX_NUM_PORTS, which can be > used in the future instead of a hardcoded value. > > Currently, the only hardcoded value is vsc->ds->num_ports. It is being > replaced with the new define. > > Suggested-by: Vladimir Oltean > Signed-off-by: Pawel Dembicki > Reviewed-by: Vladimir Oltean Reviewed-by: Linus Walleij Yours, Linus Walleij