From patchwork Tue Aug 25 15:26:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 52701 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id ECA4B22E8F for ; Tue, 25 Aug 2015 15:36:41 +0000 (UTC) Received: by lbcli1 with SMTP id li1sf52657884lbc.2 for ; Tue, 25 Aug 2015 08:36:40 -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: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=Sz6DyJFRnadltXx0mINkGdAbdO5eV2ftwKESZ/X9xCg=; b=S3zt7Q9zh7gYeyDBQ5MSCI3426Ltn3q146ZgRc6yQ0YleTo8tmCua3+eE+SuDzN1eo eEXyL97uYJc47lke7cwInglyAi9OeRWX1dg29eofKWnulB6ZgoMjUFkE2vqGW80k8sFX 2lrZamSkX3lB3EaOtQ9PS+xDKPixN39KBXB5IUMfL5FeXVPH3KbBQVdSMk+Ltg/tSRDC OvAzn3mxqrAaHzwy47VdRJ7F2/Q/AZWdxDxCFL05YWCOUUnFDrCa9nJT1VpJLITcn0ER z1tWl7gMHTj+R9u9F474V4rOZZBqqkc9fm3UJ8VV8vmpVNrSoctoTQgi0LrTBT76mrUL u2WA== X-Gm-Message-State: ALoCoQkypmggpFLrNe9fAXb+Q5bO0TBih0TTAN3hr2Dk54LkJoZk5XnM14HoEYgnRLCX0GQm/c2l X-Received: by 10.180.83.226 with SMTP id t2mr1060900wiy.5.1440517000889; Tue, 25 Aug 2015 08:36:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.219.34 with SMTP id pl2ls92882lac.5.gmail; Tue, 25 Aug 2015 08:36:40 -0700 (PDT) X-Received: by 10.152.121.37 with SMTP id lh5mr7097950lab.2.1440517000713; Tue, 25 Aug 2015 08:36:40 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id wj1si16285806lbb.170.2015.08.25.08.36.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2015 08:36:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labgv11 with SMTP id gv11so33112913lab.2 for ; Tue, 25 Aug 2015 08:36:40 -0700 (PDT) X-Received: by 10.112.67.65 with SMTP id l1mr26407796lbt.86.1440517000609; Tue, 25 Aug 2015 08:36:40 -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.162.200 with SMTP id yc8csp3261798lbb; Tue, 25 Aug 2015 08:36:39 -0700 (PDT) X-Received: by 10.170.212.134 with SMTP id d128mr22476446ykf.33.1440516998870; Tue, 25 Aug 2015 08:36:38 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w67si34035765qgw.87.2015.08.25.08.36.36; Tue, 25 Aug 2015 08:36:38 -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 49E0161F0B; Tue, 25 Aug 2015 15:36:36 +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_H2, 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 249DB61F27; Tue, 25 Aug 2015 15:27:41 +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 2878461F0F; Tue, 25 Aug 2015 15:27:35 +0000 (UTC) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by lists.linaro.org (Postfix) with ESMTPS id A541261F0F for ; Tue, 25 Aug 2015 15:26:54 +0000 (UTC) Received: by qkch123 with SMTP id h123so96415478qkc.0 for ; Tue, 25 Aug 2015 08:26:54 -0700 (PDT) X-Received: by 10.55.212.25 with SMTP id l25mr57191037qki.105.1440516414394; Tue, 25 Aug 2015 08:26:54 -0700 (PDT) Received: from localhost.localdomain (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id z71sm13994853qkz.16.2015.08.25.08.26.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Aug 2015 08:26:53 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 25 Aug 2015 11:26:44 -0400 Message-Id: <1440516404-4177-6-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1440516404-4177-1-git-send-email-mike.holmes@linaro.org> References: <1440516404-4177-1-git-send-email-mike.holmes@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 6/6] linux-generic: branches of if both reqire parens 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: mike.holmes@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.215.45 as permitted sender) smtp.mailfrom=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 Signed-off-by: Mike Holmes --- platform/linux-generic/odp_schedule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index fc5677c..8ca4765 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -198,8 +198,9 @@ int odp_schedule_term_global(void) if (num > 0) ODP_ERR("Queue not empty\n"); - } else + } else { odp_buffer_free(buf); + } } if (odp_queue_destroy(pri_q)) {