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 DA8C0A0530 for ; Sun, 26 Jan 2020 02:04:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8FACB397D; Sun, 26 Jan 2020 02:04:49 +0100 (CET) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id 5D668397D for ; Sun, 26 Jan 2020 02:04:48 +0100 (CET) Received: by mail-pg1-f194.google.com with SMTP id q127so3237620pga.4 for ; Sat, 25 Jan 2020 17:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3L1LZo0KP/BiDH9n8FB0TSisHrDfWP3eoitjJZ/06nY=; b=K0gbKuC5wtL8Pit0Q2xIO/5fiyZxOEX1DOfd0whdzAA+u54F7epPebcjQBa52WVSqL Xy/AuwGWLjJt2oQSSJvCJUxLTos3jM0RM9X2uF7z/pX/XwVtoa0FzCv+ZdisY3HtDchY e7WTZFTYtRAcMrllgx9kCgqOgJS/eNa/DbIfVYWieKbmvBs1K/yeDUoJIDltsPsaUKF4 lobJLF9C8qWI7VP7QK2d9/9OrYUq+vAJhJyYYDHob80AhZwMMxSR6mmyhN5y+hTO/fXD 37qc+iO+v8WfEY5FjuZVIuPsakW1AGfaVCbClmklzYPwGc1awq6cCvGzZKgtNg2EVbWR nRiA== 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:mime-version :content-transfer-encoding; bh=3L1LZo0KP/BiDH9n8FB0TSisHrDfWP3eoitjJZ/06nY=; b=XAA5KSQZHbI0kWshzDa76twn4GMNbGJwVNyyI9vMzllBDtKDr/RA/sODZPEgTeHrJL ZY94KFEStLoNN3wyj7Ag227rN1rldDL/LTcmtsKRDy3fOViREZ543rPHOYbukjM7Ma8V zBYkHSRqsqwt2r2aVnsXVkeejkBH1+JC/LyS5z4GrBPD5KCCbE2Jfj4SIXGaxLJ9OxI4 mFzLRkyyucqFeUta3vwvmmdAfkjDYMU3ti2cHJyqCukFTetFhw4c2CXRetMa+bfQnaIj VKBDIgBezVpLCpIn93TeYoCNLY8T/By4ssCKOLR5nHLNKHBmqlSg+sltTQF7pBEYtpQg yNBg== X-Gm-Message-State: APjAAAVY9NbSmjfqEPxDalz1aFc/DccDcuMfRuQ8Wham3u2Y+AhUDb/d 7uqbpaNbQ1HzcwPm7QRWgz5u0w== X-Google-Smtp-Source: APXvYqxWRLD+zN9GnvrEMJsf1CLHSAHJ6fB1vs/jKfRlT0rsCAdivfYyws68zFCQmOvRcTtMNslbeg== X-Received: by 2002:a63:3191:: with SMTP id x139mr11923251pgx.368.1580000687106; Sat, 25 Jan 2020 17:04:47 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 132sm11402440pgd.76.2020.01.25.17.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2020 17:04:46 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , reshma.pattan@intel.com, stable@dpdk.org Date: Sat, 25 Jan 2020 17:04:38 -0800 Message-Id: <20200126010438.30687-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] app/pdump: fix build with clang X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Clang checks indentation and found incorrect indentation in pdump. app/pdump/main.c:598:3: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] Cc: reshma.pattan@intel.com Cc: stable@dpdk.org Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") Signed-off-by: Stephen Hemminger --- app/pdump/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pdump/main.c b/app/pdump/main.c index 903d02f48233..d05a0236670a 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @@ -595,7 +595,7 @@ configure_vdev(uint16_t port_id) if (ret != 0) rte_exit(EXIT_FAILURE, "dev config failed\n"); - for (q = 0; q < txRings; q++) { + for (q = 0; q < txRings; q++) { ret = rte_eth_tx_queue_setup(port_id, q, TX_DESC_PER_QUEUE, rte_eth_dev_socket_id(port_id), NULL); if (ret < 0) -- 2.20.1