Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1224333pxb; Sat, 30 Oct 2021 08:34:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMOnACPsVlr3qnGjhr49RGgrSQqopVUaBeLI36Comf+i49368G4DNl8ifBODRzRZ2dBHpK X-Received: by 2002:a17:907:d0b:: with SMTP id gn11mr21954413ejc.441.1635608093783; Sat, 30 Oct 2021 08:34:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635608093; cv=pass; d=google.com; s=arc-20160816; b=XcA8sc+AG3hslSpU7TkPkdffUJqJlWZuPzOulS7zJfHlBUiP4f1Ey0E1WbPLyW+dYz b638rD9lcUhhdxITVARQR/pc77N0eKr7temtx6oR9CfQqldULc5T4dWQmyxcJ/ZGI7ue pb9H/0kIqhl6JhH+wOcNqXjAoi2hnmhTE39smT0zz/hbSEdBy38qZzQW0SqbTBrEltav pElhLNjEBsq3wndW80b+uwyPHJJCRqJdY+IPMWYuFKTA1ZmOQGtwd1QSwE2dENfDLwXq 63zZD6IlHRhk5+D9DkRlBTzCLAy7C8VTvwM+1MSKLXW6IbdPrKhDCApHth6CnDVzR8xp OGKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=sl+2++Qwr1E8eWVcgSPVM2oKPhTAKWIj9SVbwWSQwcI=; b=jNsK4xbjubbBAL1FmzOELmPJneDuNPJcJDIErv7yAHlfmv34omG2RtwMwxvZ/PuuSU Hya32nNHBsNf282y5iJLyRwHj2s8IKiyesZCAilrZhdGDunrgQGsqKUzfYrI1+0dVxrt zW826EoKhLYiPfPI5CB0Ne7uz8vJSba4NBvXk0lfOcDfOEWCn2w1L0PMGwSGk9auIyxE 5vft4fukI7CMSi+wV0KPFX6B69ZeHXATNLHlyjyps8XTog17BRxIM/l8sVFYUciZFlEO KPFF+mBgzVITSXCuzP7pAWsOXZuKDsBxpmAKf2m4fAkGKANfVnf2CHCYLHnxXQFvKYNd 5R5g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=ZdkZWqCi; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si13565522edw.460.2021.10.30.08.34.13; Sat, 30 Oct 2021 08:34:53 -0700 (PDT) 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=@microsoft.com header.s=selector2 header.b=ZdkZWqCi; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231974AbhJ3PdP (ORCPT + 99 others); Sat, 30 Oct 2021 11:33:15 -0400 Received: from mail-cusazon11021025.outbound.protection.outlook.com ([52.101.62.25]:18748 "EHLO na01-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230086AbhJ3PdO (ORCPT ); Sat, 30 Oct 2021 11:33:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dJm16fdgKNtrClBB/BhRjg/2GtNXHAZIrUdNWUC+suJWOTI+g0yqmoB9KE1WbKAgIddRIYsXVVNcoKCj9UXF86YbPfPNwF66qfyNNCFlVNwU9qJMFgstb4KwKuw5If2f2B08TApa+jXDSsVpHazeKa8WCoGaONFSwrh9Yi9CCnbxuBu0yHEJJS97ZzZWCKw9Gd1HhVsitYf4a8SKoGPsvx51MeBzJ3tcDSAROJcf4SlhZL9kVlv+uz1JNcnjHSnweWnO3sA4G0H46Xq1XaJilfE+5ok0Ms58gQqt06SK7LzQqZal5/9UlCEPhWPJHy49zz+t47rdC+rHSuqbRJLx8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sl+2++Qwr1E8eWVcgSPVM2oKPhTAKWIj9SVbwWSQwcI=; b=cS/dh61pAR/4FqOKLVJHyrw0EUY3CZm9UWoB4ffojl80MRUQeBXoJ5S9quIkiOz3itxkdmGNxLEUUvt9WI9yXFMJBAzEjRu7e54NiPdOUFsAsQ5clCGnYqp5zLQpKTxqYLfSKL9h7hf/wmtN+UHIlPkth8/a3VuPYykgLa10DHiC0TWmrX558kJwopKym8zMT5TrsWlzT2dQDxq6lDIDurViMLajIwCDGKZj7eRP2W9YrWsOrbwukvzcZnHG++/WZZcpAwaR/OYxxHBVwzh50Ets4dcIDbPegXkvL46ZoBeL5Frd8ade1p89VlZfDhJ90hTFCaj0d8bvDLr/SYapAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sl+2++Qwr1E8eWVcgSPVM2oKPhTAKWIj9SVbwWSQwcI=; b=ZdkZWqCiqABGuymQ9OfZ4A2gDbf7cAhwWLp9/M1SyJ9KZSTgcgr2WIzP3NJx1V8SrFQhzPo66tRG2lubRdXGP64LFYMxSOKt4RUjuctDGTHztDeyzRcgHQyr3y59ek9/HF0Pm6V/PheBJYu3DVYu1lUZ28jfTa8elgVW5rgECQA= Received: from BN8PR21MB1284.namprd21.prod.outlook.com (2603:10b6:408:a2::22) by BN8PR21MB1234.namprd21.prod.outlook.com (2603:10b6:408:77::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.0; Sat, 30 Oct 2021 15:30:40 +0000 Received: from BN8PR21MB1284.namprd21.prod.outlook.com ([fe80::5962:fbb9:f607:8018]) by BN8PR21MB1284.namprd21.prod.outlook.com ([fe80::5962:fbb9:f607:8018%7]) with mapi id 15.20.4669.004; Sat, 30 Oct 2021 15:30:40 +0000 From: Haiyang Zhang To: Dexuan Cui , "davem@davemloft.net" , "kuba@kernel.org" , "gustavoars@kernel.org" , "netdev@vger.kernel.org" CC: KY Srinivasan , "stephen@networkplumber.org" , "wei.liu@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , Shachar Raindel , Paul Rosswurm , "olaf@aepfle.de" , vkuznets Subject: RE: [PATCH net-next 1/4] net: mana: Fix the netdev_err()'s vPort argument in mana_init_port() Thread-Topic: [PATCH net-next 1/4] net: mana: Fix the netdev_err()'s vPort argument in mana_init_port() Thread-Index: AQHXzSi4LzXo/haLVkOIULr1f0GnJKvrq8cQ Date: Sat, 30 Oct 2021 15:30:40 +0000 Message-ID: References: <20211030005408.13932-1-decui@microsoft.com> <20211030005408.13932-2-decui@microsoft.com> In-Reply-To: <20211030005408.13932-2-decui@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=935e2c5d-858f-4269-8b3c-08a760c9af2d;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-10-30T15:30:20Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aab484fd-f154-488f-c8b7-08d99bba3ae8 x-ms-traffictypediagnostic: BN8PR21MB1234: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ItB/j711t4j2CWEDYYqUUnmwlWjd19VFGEZ+n9j2ZuftvVjM44fVPKv2240Hz7keV0ISghvKs0PVZqG66wRELgwtbkfZb474DGn2VEWlN0U8sNCn2JnKHQGuRYQLVHHxdgTM38WEmI4A+M+WyJ/kjO5QdWJpzI47WOvJSWlQCqGePVGCRPyCaSG36qLtmzed6oDYZuglgRqhpvuNz+zxw7a6kVJEjIPCbAJ2A94Y8liKWBYXRJkE9hd9gZFWA/KlU6QMPBxAMYLG3t66PbIe/a9YMLVLmxQEs8Jzhl84GZKK/DVS2PcE4ctjoJO/5IThMd5ZPKOb7g1UNqqzwtBCovyVqLGB1rVX+XUnxdPVfmz9Mco96Q+vgz1X82dsPyi3jWus20OA9E8iB3Txi81vNERJ1rbGFkhkgjx+IUrlK6WcTbKoNJSJKNhr3G3VgLFsQRi2FZxHl5E/ZWsh+2L6J3DIPo9FcUQdPGU8/3dJHsZ4ZMlk65Nij1ht5soBPppRJwAao+mXz9bX67A/GE2cGW6UQkPz7nqrELI9atXgqyMi5ZZvm2zfZ+xlfl1ivSFS3URb1sjc2INrf3Wa5lMhBU4LoGqye8VQL2Uhl8uHjnCeY8Y3+dWI3OjhOxDf4gkSCYzNfmJZPI7hx8M95HsEIHi2lvGiFiEl4ASOEmoW8lP55DuS3SFiUNrTpm/NMP7wRTkcX4L7m9QPDyar85C55w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR21MB1284.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(38070700005)(55016002)(71200400001)(8990500004)(2906002)(82960400001)(54906003)(8936002)(186003)(66946007)(66556008)(66476007)(66446008)(64756008)(26005)(9686003)(110136005)(8676002)(76116006)(86362001)(82950400001)(52536014)(508600001)(6506007)(10290500003)(38100700002)(316002)(122000001)(4326008)(7416002)(7696005)(5660300002)(83380400001)(53546011)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?rKR/HQfr0lr0rmQxF05GVVyLtyrLeazePzrOBx9GYgwwp7wwfHtJlvFVinkI?= =?us-ascii?Q?ahCP4aXKgLJkxQj0y+mPIayt6zQ0CdWbIBgcSl6TMgN8BhDJz/tuoRIuQQJs?= =?us-ascii?Q?vjv5+OLhO5GJIVSPxTTa28UVtHkVye2UGFqNieivYg98rmf83AK2lbwwreKg?= =?us-ascii?Q?GP/9Vn0QhqD0Gk2TCELRHooLkoGetDl7zEg7M/xV4sJXLlSatGYwteLpgetl?= =?us-ascii?Q?sCJp7FG8gTRhprYftIT80jV0Ntd1MRGiLFjBkAQMWdgji24RT7gbfY2tLuJk?= =?us-ascii?Q?tcfVd74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f2jRgHx09?= =?us-ascii?Q?JGu8D0M7BTOlDF9Z3Uyu5mCUEIzhjGJmmUhz7eb/ybwPzuYUARnAMg4CjAUN?= =?us-ascii?Q?qfulu/lvtL9hWqiw2xoPe5fL1yNExiiBmQsrDOW/iPdtYDwhIbV+OULki9zV?= =?us-ascii?Q?M1OPalx/mHDqIlxfoGn6jKdA+fY0ivD/Bs1dVKMGq0v2j8hxH/z4r5Gv0Wbn?= =?us-ascii?Q?8dGqapSWcWUylY0iYJctAQ11xuAe8XxMjidUXxglyVr/aCqsN1vvyiwzcIZ0?= =?us-ascii?Q?ioCkkwGKsjWIfZqyb2c3gXYx9dUSFw05mMT1JUPdsbdb+DCRyhvaI2pRp8zc?= =?us-ascii?Q?1Ol42+/1sC35+027eTJyJnKXv9lyePC5jiGuJKPsEUXkpxnXPEfUzJu7H6hr?= =?us-ascii?Q?miAHWFisCL5RRVlSs4/OCvL8TJ1PJ2z1iKsMu0QYtUdX9Z84aM9044Yfe2EF?= =?us-ascii?Q?gQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR21MB1284.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aab484fd-f154-488f-c8b7-08d99bba3ae8 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2021 15:30:40.2183 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Glae5ABfnUeW2/3jh6M4Leu9OegmoIHAvCiYMgLqF7Ck9fy5z5aQYEQoBlVxUKyOAe1WAq3vQ4mPJt92S4rL2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR21MB1234 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Dexuan Cui > Sent: Friday, October 29, 2021 8:54 PM > To: davem@davemloft.net; kuba@kernel.org; gustavoars@kernel.org; Haiyang > Zhang ; netdev@vger.kernel.org > Cc: KY Srinivasan ; stephen@networkplumber.org; > wei.liu@kernel.org; linux-kernel@vger.kernel.org; linux- > hyperv@vger.kernel.org; Shachar Raindel ; Paul > Rosswurm ; olaf@aepfle.de; vkuznets > ; Dexuan Cui > Subject: [PATCH net-next 1/4] net: mana: Fix the netdev_err()'s vPort > argument in mana_init_port() >=20 > Use the correct port index rather than 0. >=20 > Signed-off-by: Dexuan Cui > --- > drivers/net/ethernet/microsoft/mana/mana_en.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c > b/drivers/net/ethernet/microsoft/mana/mana_en.c > index 1417d1e72b7b..4ff5a1fc506f 100644 > --- a/drivers/net/ethernet/microsoft/mana/mana_en.c > +++ b/drivers/net/ethernet/microsoft/mana/mana_en.c > @@ -1599,7 +1599,8 @@ static int mana_init_port(struct net_device *ndev) > err =3D mana_query_vport_cfg(apc, port_idx, &max_txq, &max_rxq, > &num_indirect_entries); > if (err) { > - netdev_err(ndev, "Failed to query info for vPort 0\n"); > + netdev_err(ndev, "Failed to query info for vPort %d\n", > + port_idx); Reviewed-by: Haiyang Zhang