From patchwork Fri Feb 26 12:46:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 63042 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp695967lbc; Fri, 26 Feb 2016 04:47:23 -0800 (PST) X-Received: by 10.140.86.85 with SMTP id o79mr1543374qgd.3.1456490843477; Fri, 26 Feb 2016 04:47:23 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h185si12975146qhh.100.2016.02.26.04.47.23; Fri, 26 Feb 2016 04:47:23 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E6D5365120; Fri, 26 Feb 2016 12:47:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 6F09B6186B; Fri, 26 Feb 2016 12:47:18 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 86A566186B; Fri, 26 Feb 2016 12:47:01 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by lists.linaro.org (Postfix) with ESMTPS id 3637E610B9 for ; Fri, 26 Feb 2016 12:47:00 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id m1so52780963lfg.0 for ; Fri, 26 Feb 2016 04:47:00 -0800 (PST) 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; bh=K6G1HwEGHve39EhHD2cfLfkE7wAwBYMIuGG14VLSgHA=; b=G659Fua2kRaOaUuPaJ2RJq4APVHyR2qlPaDYpogFQojjmEgnkfMElY2TntlwlCoiaZ VRAJOuXgUsWwEMDsZsVOm4dC4sR4Wky8QyfmMOT4/7MILnnbeaRPUiK1rTAcjCD4i7t+ +vKyYjAxzLvQxjQwnHAPnt/sy9Dt1sZpCv9wUMbTo3+NNn7H1F9T0V8Be97pUDdUkydN AO4UrAU3A1vKoMdYRRYhsblXd8rNXHF12Vx4xA9D+ndBGDN2xN5VuYyEnhtZ2A61O+is H2h2A/4Vr5iZYkHnQQDouUhHO6iN8AD5ZlmPgjguGmy1U7+rZee64ACgXIYbzEBbdnd+ +Cvw== X-Gm-Message-State: AD7BkJJdLQhvP1k9xcwmXeOkadmCm+Ss8+whAKwLdkBMLeKi3Lx9pmtNstqGJInpMYeQmspO7gs= X-Received: by 10.25.32.65 with SMTP id g62mr616747lfg.14.1456490818784; Fri, 26 Feb 2016 04:46:58 -0800 (PST) Received: from localhost.localdomain (ppp91-76-173-134.pppoe.mtu-net.ru. [91.76.173.134]) by smtp.gmail.com with ESMTPSA id jb5sm1828928lbc.8.2016.02.26.04.46.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Feb 2016 04:46:58 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 26 Feb 2016 15:46:53 +0300 Message-Id: <1456490813-18110-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH] validation: tm: fix arm compilation X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" traffic_mngr.c: In function 'test_shaper_bw': traffic_mngr.c:1635:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' [-Werror=format=] expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); Signed-off-by: Maxim Uvarov --- test/validation/traffic_mngr/traffic_mngr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/traffic_mngr/traffic_mngr.c b/test/validation/traffic_mngr/traffic_mngr.c index b722787..f8084b8 100644 --- a/test/validation/traffic_mngr/traffic_mngr.c +++ b/test/validation/traffic_mngr/traffic_mngr.c @@ -1630,7 +1630,7 @@ static int test_shaper_bw(const char *shaper_name, "std_dev_gap=%u\n", __func__, rcv_stats.min_rcv_gap, avg_rcv_gap, rcv_stats.max_rcv_gap, rcv_stats.std_dev_gap); - fprintf(stderr, " expected_rcv_gap=%lu acceptable " + fprintf(stderr, " expected_rcv_gap=%" PRIu64 " acceptable " "rcv_gap range=%u..%u\n", expected_rcv_gap_us, min_rcv_gap, max_rcv_gap); }