From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F538A04B5; Thu, 10 Sep 2020 22:12:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4DB881BF8D; Thu, 10 Sep 2020 22:12:18 +0200 (CEST) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) by dpdk.org (Postfix) with ESMTP id E9BAB1BEB3 for ; Thu, 10 Sep 2020 22:12:16 +0200 (CEST) Received: by mail-qk1-f193.google.com with SMTP id v123so7412428qkd.9 for ; Thu, 10 Sep 2020 13:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NbkxGBEUhomN/1iNtsFszIEdb5CxD5I/9zQ1glpVtvo=; b=QjZriGNhkg6a8Q7xAzj17sezxkeCuaQaVPljv/AuJ7KpXQmQL6WmR2ebYeKfU0LRGO NZJgUxscGnal/V4PhRM0b4Ig+EbkoRbEEltfnJ32SdUG8jpLsZGVvatmue33ULXa1LwA 89tmiP9kxapKEHZ/I5r+TbZTAtHzUIeOxLYNk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NbkxGBEUhomN/1iNtsFszIEdb5CxD5I/9zQ1glpVtvo=; b=sXdIC7/g+JsHj2c/Zll+/OKTzV/gKJCfOm8ihze79/8g0n2dvnu3hWyN3zNEQtXS1h c7mgwtioxdERgGOfHQBv0esTO6aDL63iUl8CIqwDBXsX+fG89Km8YPpsUUawr6DWk4YI g2N7hdEijG1xN2zMAWsprNAaNcJzouempGbKeBltlSPMJNTXiYCYyMQFseSbwGnjesyG EiAmlxjq2heo3QCIbKmjCnDAU6fl78gK3VxOS2MHB2apOgqr0ner/V/qfKGfzhv1rXyd 6g6sHDKeoEu8ARYl4xqKnUwFXUF4EXLnDRkRO39Vq7pyKLKigio9u2ZAx4TZXD9JPUz2 l+AQ== X-Gm-Message-State: AOAM532gROA0/rQAPQEzc5k8mHdx0zwZeJhGpb8eLKd4v+p6S6UI/J/A TTAs3bE3mpBFTvCm/Iv8LoTkQA== X-Google-Smtp-Source: ABdhPJyETT1fgKaAyBAJqBSSFK7kqz7ca9kh1EP5ADpkhKg5JxrCud9TageEkElkNaEM0pDE8s9dYg== X-Received: by 2002:a37:d41:: with SMTP id 62mr9358388qkn.444.1599768736366; Thu, 10 Sep 2020 13:12:16 -0700 (PDT) Received: from traffictester.opnfv.iol.unh.edu (opnfv-vpn.iol.unh.edu. [132.177.125.250]) by smtp.gmail.com with ESMTPSA id d10sm60842qko.32.2020.09.10.13.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 13:12:15 -0700 (PDT) From: David Liu To: ferruh.yigit@intel.com Cc: dev@dpdk.org, lylavoie@iol.unh.edu, thomas@monjalon.net, David Liu Date: Thu, 10 Sep 2020 16:12:00 -0400 Message-Id: <20200910201200.41483-1-dliu@iol.unh.edu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200910060025.23838-1-dliu@iol.unh.edu> References: <20200910060025.23838-1-dliu@iol.unh.edu> Subject: [dpdk-dev] [PATCH V1 2/2] Fix coding style issues 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" Signed-off-by: David Liu --- app/test-pmd/config.c | 1 +-- 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 5e3e9e211..a34827707 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -49,7 +49,6 @@ #include #endif #include #include @@ -724,7 +723,7 @@ port_eeprom_display(portid_t port_id) } int len_eeprom = rte_eth_dev_get_eeprom_length(port_id); - if(len_eeprom < 0) { + if (len_eeprom < 0) { switch (len_eeprom) { case -ENODEV: printf("port index %d invalid\n", port_id); 2.17.1