From patchwork Thu Aug 31 13:00:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111385 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp2510874qge; Thu, 31 Aug 2017 06:02:44 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7CdlmjWmBqHuHzcTQJyfkDSe1WusMco1Cj/dOBo1jKlvJPHgtJZOi/bP0aZNguN895tXhR X-Received: by 10.55.164.136 with SMTP id n130mr3361194qke.221.1504184564816; Thu, 31 Aug 2017 06:02:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504184564; cv=none; d=google.com; s=arc-20160816; b=erMfFGUtEl6AzWS98QOR3ZZGCVUWY7sq94XPJlDtIirDD3iZiZcNacMd9YorNjLaqf PGtZ+vaLB73HsBYjCfIZkJbEEo3aeNZe7a+rlm2RCd7zhZhi9vsVQ5HJrpYTNBUizlai UaOKbIgTiCJ4mDZfSrMvFioUPGEjepusw08iJ8vLFumQeJwa/Vrp+CeAcDwVkvVgN496 oIDckWlSpReQ8tryZRfz91uDYNKXaWKng8xSsAYGb+jlLVBTmCaBF5795BYDb8AG7yGz a7gBUGZs71eoraOdpTBYDVN7vwLPOk93KpGa/+WgPlmE3J2gfXzInc7yhbh9fIHOWibN TIBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=7wImJOheUBBTU1X4iATOs5iT7oeOwNLOYwvaS3WcKtI=; b=Im2/3xCrTW2iRAF7aO/CJ2xkwXeC/G//6SMSla4PcRa9/JDNhpT3vrtGnTTsPt5NXT Gw7fqezpzD2YJyDIJEZtASjcaWo4toYn1X0TlEIdmAtS2hFLqcT7m4FDcPYKvLTJtxcg ggH8VgGyMrOMcMyOUEESbiR3B3qqQgihyp9+MtMqQe9U2+XPE6K0mmL6yZCdcbu+RJz+ 2XaLn8IYW+7PC+afXVbRBbaviuu3Fgc/7e8Hi4fIkEE9M91u3BVBCbskG6ShwhIZAjaj 1jbUApqg0lWTHgvoIjZe5JopfE+3Z7RmzCs7Z1NcItyZNgbbOQSlF8c8E2+9rMzWhNfV PpYQ== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f92si2895553qtd.364.2017.08.31.06.02.44; Thu, 31 Aug 2017 06:02:44 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 4FC0863505; Thu, 31 Aug 2017 13:02:44 +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,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 8BE18635F8; Thu, 31 Aug 2017 13:00:52 +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 1E2416356E; Thu, 31 Aug 2017 13:00:34 +0000 (UTC) Received: from forward4j.cmail.yandex.net (forward4j.cmail.yandex.net [5.255.227.22]) by lists.linaro.org (Postfix) with ESMTPS id 6D40F62ED2 for ; Thu, 31 Aug 2017 13:00:25 +0000 (UTC) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [77.88.29.84]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id E3404218F8 for ; Thu, 31 Aug 2017 16:00:23 +0300 (MSK) Received: from smtp1p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1p.mail.yandex.net (Yandex) with ESMTP id B342B17807BC for ; Thu, 31 Aug 2017 16:00:23 +0300 (MSK) Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pHHYqyb8mM-0Mt4h3iH; Thu, 31 Aug 2017 16:00:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Thu, 31 Aug 2017 16:00:08 +0300 Message-Id: <1504184408-15360-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504184408-15360-1-git-send-email-odpbot@yandex.ru> References: <1504184408-15360-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 157 Subject: [lng-odp] [PATCH v2 2/2] odp-generator: Remove whitespace after cast as checkpatch.pl suggested 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- /** Email created from pull request 157 (apalos:gen_cpu_fix) ** https://github.com/Linaro/odp/pull/157 ** Patch: https://github.com/Linaro/odp/pull/157.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 97c6454f7e6815bb0ef487892e3cfad99ca08c46 **/ example/generator/odp_generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index fad83db5..d89bb87a 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -792,7 +792,7 @@ static void print_global_stats(int num_workers) stall = odp_time_to_ns(left); stall = (stall / 1000000000) + 1; stall &= 0xFFFFFFFF; - sleep((unsigned int) stall); + sleep((unsigned int)stall); continue; }