From patchwork Thu Jun 25 10:50:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 50311 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 49619228FC for ; Thu, 25 Jun 2015 10:51:53 +0000 (UTC) Received: by wguu7 with SMTP id u7sf18256965wgu.0 for ; Thu, 25 Jun 2015 03:51:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=aLJHu9QrnAnX/i6jY/jR0q+SO6LIF3kmQwboGq5VbLo=; b=eTIk5iHSASvLxWcR1CQDRspBRtTwY7Yixrt2KmiH985jUFPLetb0UJkyzlD60rhmnz hbmIPmqzKC96YlrwdUB8AWp9IYg5Y26ofusjHGkYGZuHpRElhbwsHaqB7+XFsMU64Sin jlJwtUKIrem6FsUdjtO7KmHDAupA4jpW0UeTBKhJQZjCyGka+dUzV/IG0aeznHhzXBhm HbgtL8pcq4Psvnbv4agDOl2En9964oH+INVPyHiIYKOepj/A+K2t8zFiPmN6pd1CPhds Z6Nonm63InIiZSDz02kMOKchtMrmb/5oIiImZ1RNv5gZLXEKFCd3cj5y09mEJfn7mTRp Mt7A== X-Gm-Message-State: ALoCoQlrP8/5L43zaSlI3M3iG/pEZ4QGDhcBAPtMIlCe5QYZkPLTAxLfhE968CM4WIFWtxroBoWb X-Received: by 10.181.12.104 with SMTP id ep8mr1964039wid.7.1435229512644; Thu, 25 Jun 2015 03:51:52 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.196 with SMTP id a4ls282813lak.27.gmail; Thu, 25 Jun 2015 03:51:52 -0700 (PDT) X-Received: by 10.112.105.104 with SMTP id gl8mr44716265lbb.81.1435229512420; Thu, 25 Jun 2015 03:51:52 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id qf12si24401858lbc.6.2015.06.25.03.51.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2015 03:51:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbwc1 with SMTP id wc1so42985203lbb.2 for ; Thu, 25 Jun 2015 03:51:52 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr43766855lbc.72.1435229512298; Thu, 25 Jun 2015 03:51:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp514194lbb; Thu, 25 Jun 2015 03:51:51 -0700 (PDT) X-Received: by 10.140.82.72 with SMTP id g66mr58051314qgd.41.1435229510986; Thu, 25 Jun 2015 03:51:50 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id b33si28943473qkh.70.2015.06.25.03.51.50; Thu, 25 Jun 2015 03:51:50 -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; Received: by lists.linaro.org (Postfix, from userid 109) id 1C53E61E49; Thu, 25 Jun 2015 10:51:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal 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 ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0C7CD61D82; Thu, 25 Jun 2015 10:51:20 +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 56E9A61DA0; Thu, 25 Jun 2015 10:51:16 +0000 (UTC) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) by lists.linaro.org (Postfix) with ESMTPS id 1F92761D7B for ; Thu, 25 Jun 2015 10:50:51 +0000 (UTC) Received: by lagx9 with SMTP id x9so42505703lag.1 for ; Thu, 25 Jun 2015 03:50:50 -0700 (PDT) X-Received: by 10.112.72.132 with SMTP id d4mr44229469lbv.1.1435229450155; Thu, 25 Jun 2015 03:50:50 -0700 (PDT) Received: from erachmi-VirtualBox.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by mx.google.com with ESMTPSA id j1sm7123460lbc.15.2015.06.25.03.50.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Jun 2015 03:50:49 -0700 (PDT) From: Christophe Milard To: anders.roxell@linaro.org, mike.holmes@linaro.org, stuart.haslam@linaro.org, maxim.uvarov@linaro.org Date: Thu, 25 Jun 2015 12:50:32 +0200 Message-Id: <1435229434-25384-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435229434-25384-1-git-send-email-christophe.milard@linaro.org> References: <1435229434-25384-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 3/5] validation: cosmetic change in odp_queue.c X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christophe.milard@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 So that check-patch does not yell too much in next move. 2 warnings requiring extra blank lines are left. As the original writer of this code, I am not sure these would increase redibility... Signed-off-by: Christophe Milard --- test/validation/odp_queue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/validation/odp_queue.c b/test/validation/odp_queue.c index 9f17743..cf6f328 100644 --- a/test/validation/odp_queue.c +++ b/test/validation/odp_queue.c @@ -8,7 +8,7 @@ #include #define MAX_BUFFER_QUEUE (8) -#define MSG_POOL_SIZE (4*1024*1024) +#define MSG_POOL_SIZE (4 * 1024 * 1024) #define CONFIG_MAX_ITERATION (100) static int queue_contest = 0xff; @@ -104,7 +104,6 @@ static void queue_test_sunnydays(void) } CU_ASSERT(odp_queue_destroy(queue_id) == 0); - return; } static CU_TestInfo queue_suite[] = {