From patchwork Wed Nov 6 19:01:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Traynor X-Patchwork-Id: 62600 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4F810A04AB; Wed, 6 Nov 2019 20:02:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 300981D168; Wed, 6 Nov 2019 20:02:22 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 2296E1C132 for ; Wed, 6 Nov 2019 20:02:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573066940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dhlrQzf655vPtfKl4xCOUVbUP51VRJvL6sW24kJFCk4=; b=NzfIn0umwvUHduwQAYcLGjjvRzqthE+8hZuqi3MbMzzW5mMRmHNs2yWZjOZ0uu4nlQq7o7 AV/BZI/se3/cPOfOy5Vi0lkkchhFx96rfojdCn/YTEWKXfuR8f7xZbZyRokT14grv7MYaW Gvr20Vh1ZCndu+jxl8UXvFkgpVCV4Ak= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-ZXJOlgBuN3iQ5qOXpWYkug-1; Wed, 06 Nov 2019 14:02:18 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ED98F800C72 for ; Wed, 6 Nov 2019 19:02:17 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 723261001B35; Wed, 6 Nov 2019 19:02:14 +0000 (UTC) From: Kevin Traynor To: dev@dpdk.org Cc: david.marchand@redhat.com, Kevin Traynor Date: Wed, 6 Nov 2019 19:01:55 +0000 Message-Id: <20191106190203.10750-1-ktraynor@redhat.com> In-Reply-To: <20191001125315.6191-1-ktraynor@redhat.com> References: <20191001125315.6191-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: ZXJOlgBuN3iQ5qOXpWYkug-1 X-Mimecast-Spam-Score: 0 Subject: [dpdk-dev] [v2 PATCH 0/8] Coverity fixes and other cleanups 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" Patches 1-4 are Coverity fixes. Patches 5-8 are removing commented out code. v2: - 1/8: removed added NULL check for devargs_all - 2/8: fixed headline to common/cpt - v1 3/9 'net/bnxt: remove logically dead code' removed as duplicate patch already applied Kevin Traynor (8): net/pcap: fix argument checks common/cpt: fix possible NULL deference net/ipn3ke: fix incorrect commit check logic net/ipn3ke: remove useless if statement net/ipn3ke: remove commented out code compress/octeontx: remove commented out code event/opdl: remove commented out code net/bnxt: remove commented out code drivers/common/cpt/cpt_ucode.h | 3 ++- drivers/compress/octeontx/include/zip_regs.h | 8 -------- drivers/event/opdl/opdl_test.c | 3 --- drivers/net/bnxt/bnxt_ethdev.c | 3 --- drivers/net/ipn3ke/ipn3ke_ethdev.c | 3 +-- drivers/net/ipn3ke/ipn3ke_ethdev.h | 7 ------- drivers/net/ipn3ke/ipn3ke_tm.c | 7 ------- drivers/net/pcap/rte_eth_pcap.c | 6 ------ 8 files changed, 3 insertions(+), 37 deletions(-)