From patchwork Thu Jun 4 14:43:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 5142 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id D693EC3A0; Thu, 4 Jun 2015 16:43:37 +0200 (CEST) Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by dpdk.org (Postfix) with ESMTP id E7909C392 for ; Thu, 4 Jun 2015 16:43:34 +0200 (CEST) Received: by qgh73 with SMTP id 73so3785142qgh.2 for ; Thu, 04 Jun 2015 07:43:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yYWHMrK1y/2J06oCCDURhb+aYOCqDpUmIwxAYGb7efo=; b=EcFS5cOy18pQaoc8/2z7p5arIF9eDwPoMEVezZMOKXGx3xjE5oOLKPcX2QWVAJ4VNs XqAkVEfRaWq7JhEovAcfzwbEFXyp41I50FxX8XC65T4Emubh9YCjo236PbFQqLGTjFb5 Q6I/vBLhjY+nX50/sl7ndkwHWSjr8Cm5PBL31Ylnyk1hDh8P5k7WSFD/MOPSJseSuFGK BIDB/vYqZ3WGIdAflhGq2WcM4Jy2oSl1PwkOW7BQEoP3ZzSqkmr7FedgXCm23HUI/TkD oTRgcYmdDOlzRlq2/lFyobdjf+FNY3OvAuH3tdkpY3v9vr8npqP8D7xo/6VUx8Sa5weE ghOQ== X-Gm-Message-State: ALoCoQlvXxLVqXdmKYh9mEeTzg3ixRVXovdxnqrXeESoH9RbFlsm2UecYwBs43H0e6XqSe1/jiAK X-Received: by 10.140.38.69 with SMTP id s63mr17937009qgs.10.1433429014404; Thu, 04 Jun 2015 07:43:34 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id d24sm2469320qkh.45.2015.06.04.07.43.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Jun 2015 07:43:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 4 Jun 2015 07:43:23 -0700 Message-Id: <1433429007-4640-6-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1433429007-4640-1-git-send-email-stephen@networkplumber.org> References: <1433429007-4640-1-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 5/9] lib: fix misc whitespace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Stephen Hemminger More places with trailing whitespace, and empty blank lines Signed-off-by: Stephen Hemminger --- lib/librte_compat/rte_compat.h | 8 ++++---- lib/librte_hash/rte_fbk_hash.c | 1 - lib/librte_lpm/rte_lpm.c | 1 - lib/librte_malloc/malloc_heap.c | 1 - 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h index 3a0fd2d..fb0dc19 100644 --- a/lib/librte_compat/rte_compat.h +++ b/lib/librte_compat/rte_compat.h @@ -54,16 +54,16 @@ * foo is exported as a global symbol. * * 2) rename the existing function int foo(char *string) to - * int __vsym foo_v20(char *string) + * int __vsym foo_v20(char *string) * * 3) Add this macro immediately below the function - * VERSION_SYMBOL(foo, _v20, 2.0); + * VERSION_SYMBOL(foo, _v20, 2.0); * * 4) Implement a new version of foo. - * char foo(int value, int otherval) { ...} + * char foo(int value, int otherval) { ...} * * 5) Mark the newest version as the default version - * BIND_DEFAULT_SYMBOL(foo, 2.1); + * BIND_DEFAULT_SYMBOL(foo, 2.1); * */ diff --git a/lib/librte_hash/rte_fbk_hash.c b/lib/librte_hash/rte_fbk_hash.c index 356ddfe..8752a47 100644 --- a/lib/librte_hash/rte_fbk_hash.c +++ b/lib/librte_hash/rte_fbk_hash.c @@ -226,4 +226,3 @@ rte_fbk_hash_free(struct rte_fbk_hash_table *ht) rte_free(ht); rte_free(te); } - diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c index 0945b81..0c87a29 100644 --- a/lib/librte_lpm/rte_lpm.c +++ b/lib/librte_lpm/rte_lpm.c @@ -1006,4 +1006,3 @@ rte_lpm_delete_all(struct rte_lpm *lpm) /* Delete all rules form the rules table. */ memset(lpm->rules_tbl, 0, sizeof(lpm->rules_tbl[0]) * lpm->max_rules); } - diff --git a/lib/librte_malloc/malloc_heap.c b/lib/librte_malloc/malloc_heap.c index defb903..8861d27 100644 --- a/lib/librte_malloc/malloc_heap.c +++ b/lib/librte_malloc/malloc_heap.c @@ -206,4 +206,3 @@ malloc_heap_get_stats(const struct malloc_heap *heap, socket_stats->alloc_count = heap->alloc_count; return 0; } -