From nobody Sun Apr 26 21:39:23 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9F3EC43334 for ; Wed, 22 Jun 2022 11:54:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357591AbiFVLy0 (ORCPT ); Wed, 22 Jun 2022 07:54:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357448AbiFVLyX (ORCPT ); Wed, 22 Jun 2022 07:54:23 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB28E3A5CE for ; Wed, 22 Jun 2022 04:54:20 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id z19so6703505edb.11 for ; Wed, 22 Jun 2022 04:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NOoIKcOn+fn/RzKHn0fJ4NUU3G2nfTfnTHFn7LdhAks=; b=AdfKtmV9Lu5Dt/1foY+ADpByGOmR6vTr3UhT2CHJkEafEFmh+aBZY1LlNvZoL+6oaS rfZKXGozkdDUBO74Co9cPX1yn7kFje05B43dvIFiAsXGGqB6iwlQPvn2tiIWz1++4SOs QgiYW11SLh3HAii9geZPiPVY1g48pmTO9n/0z8YuUPicJ2OvlWaC8ReKLUFQLTYNtz7n Cfdcyp0MYxJGGk+naL5uJCzFbrnxvY+G66l+jUKujcq0qGa1DOiyzy0hpEMOIHQmE4WB QZI5t7OXNKMB4jhDsTHdTCSrfGSKz63+A5EXwBAZ6+681cIThUrD8W2vadq/bnTnmnNM tARg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NOoIKcOn+fn/RzKHn0fJ4NUU3G2nfTfnTHFn7LdhAks=; b=dLm1rWQHk/hZtMG8dYtRM+UcTnm1Dab2btVMT8wGKzLa76uqmEcDADG4bBi1+CJMvw QEWHxvldnmjbiefyha/bJATIqknNrMDyXaOADYoPU9Q5KMz5JQBGKnj9rkxf25jvazsN frUFvO9+N+Lx7aSBbFMXI05Is5NWHOghSayKpJT7tvX968DuE2G5HT6vj2+fhGlS+GH0 vboH5af63VozN5l3vbgCjxufUrLcrj2LkDW44Ai7ufxBtfKdAIup9+5WCAQbLAl2api5 aoDObOFwwmoq4IByrSo7QCPZ73SYHPVrg7KcQDGgkTpUfKyxTFbM5ZvUF0UU+i4Ydrwg 2amg== X-Gm-Message-State: AJIora+Rqp5KF648Neul77NXRi8gAfDkxOa0jsKdY653TZmY5Cxc9w0B dFgs1HPoPqG/apAeSQu+e9JEgg== X-Google-Smtp-Source: AGRyM1t5fihARfpTKUOLQNCjVONdWR8oHH8X3XzLJMf74aL9Msfa7frCy3ERB9yehacvDsepOq0mPQ== X-Received: by 2002:a05:6402:2398:b0:435:9685:1581 with SMTP id j24-20020a056402239800b0043596851581mr3658655eda.333.1655898859243; Wed, 22 Jun 2022 04:54:19 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id qa39-20020a17090786a700b007030c97ae62sm9063007ejc.191.2022.06.22.04.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 04:54:18 -0700 (PDT) From: Krzysztof Kozlowski To: Samuel Mendoza-Jonas , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH] net/ncsi: use proper "mellanox" DT vendor prefix Date: Wed, 22 Jun 2022 13:54:16 +0200 Message-Id: <20220622115416.7400-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" "mlx" Devicetree vendor prefix is not documented and instead "mellanox" should be used. Signed-off-by: Krzysztof Kozlowski --- Reason for resend: split from DTS patch. The patch is safe to take independently. --- net/ncsi/ncsi-manage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ncsi/ncsi-manage.c b/net/ncsi/ncsi-manage.c index 78814417d753..80713febfac6 100644 --- a/net/ncsi/ncsi-manage.c +++ b/net/ncsi/ncsi-manage.c @@ -1803,7 +1803,8 @@ struct ncsi_dev *ncsi_register_dev(struct net_device = *dev, pdev =3D to_platform_device(dev->dev.parent); if (pdev) { np =3D pdev->dev.of_node; - if (np && of_get_property(np, "mlx,multi-host", NULL)) + if (np && (of_get_property(np, "mellanox,multi-host", NULL) || + of_get_property(np, "mlx,multi-host", NULL))) ndp->mlx_multi_host =3D true; } =20 --=20 2.34.1