From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C541DA0471 for ; Thu, 20 Jun 2019 00:56:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CBD5F1D093; Thu, 20 Jun 2019 00:56:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 462FC1D092 for ; Thu, 20 Jun 2019 00:56:22 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5JMo3YQ031438; Wed, 19 Jun 2019 15:56:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=YgbmGR+c8KEak0vUzXlY/o4Lw3+ktmkLKJJVMcT9Gbs=; b=UgZK4RTxZhGKobytpRde4NkBqAq7+E+KfIpvuFwR8MuZXFBWuGGJfSekA7VKCQ7mD86B yM+Xeahgbe4uwfiC2ypXLYx7rJgjxNiQFmgaBD6rKTvuZ54WGhySwByN0SkI39jF8NvH bL4mL4zs7juMDBt66OvzIQvLRB7Z4pbfDpRbFSSaPsyJ0bM4O9utpa9jtcReZb6zzPDi SWf9O8R2rUec/6PDbJwUbCUS27oOq9VXKyQB9VJI37Q0hdXqne44URtyboTqErYJDv7F yj8rA2KxzglADSTy2bnwns9fi8kVtDG85td5GnvrLnVQR9UOBwJSbpwKLuV0Bx85kgkv VA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2t7sb7h8u6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2019 15:56:21 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 19 Jun 2019 15:56:19 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.56) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 19 Jun 2019 15:56:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YgbmGR+c8KEak0vUzXlY/o4Lw3+ktmkLKJJVMcT9Gbs=; b=QvWn1GrInCZDj+ebiMjd8aVIIPtwe0Re81dq8kQ8o1Tz6yqz3TSxFd/TtoVqfGIqrJ8OhXiSKC6k0EiGO+wJ04wuJntr70UoLbfHfi0Te8+l6hExnji+mg3PMDQGPd+1DsRFtEpsr5kNokDVVGJivEopf+Afe4oRbtnFhg0wCV0= Received: from BYAPR18MB2838.namprd18.prod.outlook.com (20.179.58.18) by BYAPR18MB2357.namprd18.prod.outlook.com (20.179.90.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.12; Wed, 19 Jun 2019 22:56:18 +0000 Received: from BYAPR18MB2838.namprd18.prod.outlook.com ([fe80::d423:d286:1e1:16f5]) by BYAPR18MB2838.namprd18.prod.outlook.com ([fe80::d423:d286:1e1:16f5%6]) with mapi id 15.20.1987.014; Wed, 19 Jun 2019 22:56:18 +0000 From: Rasesh Mody To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2] net/bnx2x: fix warnings from invalid assert Thread-Index: AQHVJsv7HzA0WUtpmEmPjVClXrP2+6ajX6EA Date: Wed, 19 Jun 2019 22:56:18 +0000 Message-ID: References: <20190619182217.8482-1-stephen@networkplumber.org> In-Reply-To: <20190619182217.8482-1-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.233.58.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 66d09b96-ce06-4618-bb25-08d6f509570e x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2357; x-ms-traffictypediagnostic: BYAPR18MB2357: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:236; x-forefront-prvs: 0073BFEF03 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(39860400002)(396003)(366004)(189003)(199004)(486006)(76176011)(33656002)(6436002)(6506007)(229853002)(4744005)(8936002)(305945005)(5660300002)(8676002)(99286004)(81156014)(71200400001)(81166006)(66066001)(7696005)(52536014)(2906002)(71190400001)(186003)(102836004)(74316002)(66946007)(66556008)(55016002)(14454004)(73956011)(2501003)(6116002)(64756008)(7736002)(66446008)(53936002)(25786009)(86362001)(26005)(14444005)(316002)(66476007)(256004)(11346002)(6246003)(110136005)(446003)(68736007)(478600001)(476003)(76116006)(9686003)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2357; H:BYAPR18MB2838.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: kR78TVe1v7BuLmavOVQfGk7lGC4A9I4l2psiMc9G91MlBiXZLIJp2i895QW4SW+slynEx6AEaiI8zKEbggNQzsHd7SOqh9zhuigwc/0bw7pWHvngwRN804P8V71OVC0EA/Ujm7wRR5gxZibSoil01O0UzGxBHf+dtcZOn3DJCzfgsr8wQJ/Kq096tqYiy8BEqmHv1DaI5pgWP1lA9GeHhzYTQ3Q23lXMK3VTihK0+NsGYF+vXYlFmhNJGdaB6WZRlqdK3YcfWV9s7bbQeC7DwTmD4M4czWISDgcO9LJ2+Djter2c5E48cyWXORm8e1+KdOEO1mFyWGwisugNKrSLGJF92XM0oH2xGYcoGHAhKqATNwvpT2Mcu4OYPxB/S5l87Tpe6xnuzjFdi8QO8bznaq/qqY8hL6Di8Yn46bEQCHY= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 66d09b96-ce06-4618-bb25-08d6f509570e X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2019 22:56:18.1978 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rmody@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2357 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-19_14:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 1/2] net/bnx2x: fix warnings from invalid assert X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >From: dev On Behalf Of Stephen Hemminger >Sent: Wednesday, June 19, 2019 11:22 AM > >This driver had a bogus assert which could never happen. >This triggers "expression is always false warnings" with some compilers wh= ich >causes build failure. >Just remove it. > >Fixes: 6041aa619f9a ("net/bnx2x: fix poll link status") >Signed-off-by: Stephen Hemminger >--- For both patches, Acked-by: Rasesh Mody