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 861B3A0530; Sun, 26 Jan 2020 02:04:51 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE8E74C81; Sun, 26 Jan 2020 02:04:49 +0100 (CET) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 8441F49E0 for ; Sun, 26 Jan 2020 02:04:48 +0100 (CET) Received: by mail-pg1-f196.google.com with SMTP id s64so3224034pgb.9 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=lg/KfTtakY+jRLrc0CVw7soz28SBaw+zaSH5TrvpsmAOH+jMIU52b7fxCpgSJ5Q1es 7L3Kw5pgyHkerxfgr33PmnUaPEcKN6HeKwlmrTavE93UuPkm1HNNlvT4mjC07iVBWhoC 6UwAVl+T+SXE0LcnF3g+9BN/4MuSqO1PZbEdXSKmSuA27bCFMP2PgdodupFEUOiMDOAd ioSzAE/njcJMZ6WH+Dojh7KyJCxQ2jeTuZIAU/NVdMqGDZwCggAYQ0jwbkfdW3i9MAjN RUv0YDPCqVbIV+u7V4DCr0IKYzz6ld2ozl6Slv4nAhdmjX/owjIQjGMsFWQLpZ4kvwuB +/QQ== X-Gm-Message-State: APjAAAVII/B602C5ZPcoGART54790uVRi8m5zfmkMJnIRMPpM7+Qc/o9 jq5kKO701RK+bTDIaSkt4vux7Kk+YZo= 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-dev] [PATCH] app/pdump: fix build with clang 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" 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