From patchwork Thu Jan 29 09:48:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Barbu X-Patchwork-Id: 43901 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB1002410D for ; Thu, 29 Jan 2015 09:49:14 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id u10sf17584497lbd.3 for ; Thu, 29 Jan 2015 01:49:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id: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=fBKLZipvqV8R8/lBYh7z7l60OgCfeGVSd4QjI62uaJo=; b=QftOs2clh2W7xP9vCr7U3XXKkqd3NGmdjPloINL8hzByp8WeGBMQL/mBMxgnz/dKwo rU3kmxFE5EZztb19gN8TqvqMjJz0AK+R90xY27uehq5cnGm5h4QfJRAZxtyjHCeu+fZQ UPame0xoZz9ZQKDqC+YFLFkUp0WIyuXM9MwD+xteuYx7lmobzo1HlqEiF5IesFY/k45f KopxxEEDa8asyB48KwMxK7dudtp0loDUA0RrXiSPh9gzeKEG+TN96WJRc1w+IV83CE7E VZcNIldbOyDjJIfmJ/6T6vFGmpyn8dtljP46VIBdzJvk1rfhHht3RKJmtVcriFGBTgjt UCFw== X-Gm-Message-State: ALoCoQluB4YC7+8NU4OdI+jYlObTtqyMi0wAHFUtMO2EJT6FYGkjWW5zJ6gj/s/wdikT5NobxfFP X-Received: by 10.152.36.168 with SMTP id r8mr1618828laj.2.1422524953606; Thu, 29 Jan 2015 01:49:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.193 with SMTP id ao1ls305740lac.20.gmail; Thu, 29 Jan 2015 01:49:13 -0800 (PST) X-Received: by 10.112.129.195 with SMTP id ny3mr13425907lbb.10.1422524953456; Thu, 29 Jan 2015 01:49:13 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id zs5si6837274lbb.112.2015.01.29.01.49.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Jan 2015 01:49:13 -0800 (PST) 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 mail-lb0-f181.google.com with SMTP id u10so26114160lbd.12 for ; Thu, 29 Jan 2015 01:49:13 -0800 (PST) X-Received: by 10.152.23.195 with SMTP id o3mr5953378laf.70.1422524953352; Thu, 29 Jan 2015 01:49:13 -0800 (PST) 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.35.133 with SMTP id h5csp1707060lbj; Thu, 29 Jan 2015 01:49:12 -0800 (PST) X-Received: by 10.229.1.72 with SMTP id 8mr1165959qce.25.1422524952110; Thu, 29 Jan 2015 01:49:12 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id h11si9678363qaq.18.2015.01.29.01.49.10 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 29 Jan 2015 01:49:12 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YGlil-0004eR-I4; Thu, 29 Jan 2015 09:49:07 +0000 Received: from mail-lb0-f178.google.com ([209.85.217.178]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YGlif-0004eM-Sz for lng-odp@lists.linaro.org; Thu, 29 Jan 2015 09:49:02 +0000 Received: by mail-lb0-f178.google.com with SMTP id u10so26112241lbd.9 for ; Thu, 29 Jan 2015 01:48:56 -0800 (PST) X-Received: by 10.112.199.39 with SMTP id jh7mr13261507lbc.46.1422524936214; Thu, 29 Jan 2015 01:48:56 -0800 (PST) Received: from cipriantemp.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id kz6sm2002123lbc.19.2015.01.29.01.48.55 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Jan 2015 01:48:55 -0800 (PST) From: Ciprian Barbu To: lng-odp@lists.linaro.org Date: Thu, 29 Jan 2015 11:48:43 +0200 Message-Id: <1422524923-32759-1-git-send-email-ciprian.barbu@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Topics: patch Subject: [lng-odp] [PATCHv2 2/2] example: add return statements in thread functions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ciprian.barbu@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 Fix for https://bugs.linaro.org/show_bug.cgi?id=1161 Signed-off-by: Ciprian Barbu --- v2: the same fix for the packet example; all other examples and validation tests (odp_cunit_thread_create) return from the thread functions example/l2fwd/odp_l2fwd.c | 2 ++ example/packet/odp_pktio.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c index 150de18..7c4e8bd 100644 --- a/example/l2fwd/odp_l2fwd.c +++ b/example/l2fwd/odp_l2fwd.c @@ -146,6 +146,7 @@ static void *pktio_queue_thread(void *arg) } /* unreachable */ + return NULL; } /** @@ -233,6 +234,7 @@ static void *pktio_ifburst_thread(void *arg) } /* unreachable */ + return NULL; } /** diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index c4c720b..16b57cd 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -213,6 +213,7 @@ static void *pktio_queue_thread(void *arg) } /* unreachable */ + return NULL; } /** @@ -272,6 +273,7 @@ static void *pktio_ifburst_thread(void *arg) } /* unreachable */ + return NULL; } /**