From patchwork Fri Oct 27 12:49:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 117324 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp734202qgn; Fri, 27 Oct 2017 05:52:16 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RK1pgJyI8kTnIYpQPgE8cDUwJ1mFtveMBoqPXilQIerf/p/ghIBPHJUCJfbmQaTL1pbdU6 X-Received: by 10.107.16.162 with SMTP id 34mr425145ioq.169.1509108735982; Fri, 27 Oct 2017 05:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108735; cv=none; d=google.com; s=arc-20160816; b=gDWtvZ1wOh3m92AcSycn0cXR+Te3EI/Ca/aXI8kPVd7oKuGglqUfqSFgk7SD5o7SRg OaIN/m9UX65n7Z6psrU1N45/OS/78fGPmcoopSVl9QLZkxAg8YazZtwU8e2+gMYVjrt0 n1tAVM/dCH/VxVEXuEbQXJIvj7uS1lcP2WPxQetsq+QJAHzQMImyYwmBabbYhqqJy0Us 0ulQ6kUsU7hgtU9r0AT2tCyvzC2g+OwLMB2ZhzQJDaQvEVYLEoSllqImzdBallhNnuYJ 5b1C/2Dx+msi7CzeVHiepLFj1PwGQ/P4qcuYLE1M2L2oBjhYjTUdFJq5PwiZYA19U6NS ARcw== 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:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=kdja5l+p/4QMu1Ce+zmmCqxzR75VfVRbzAQREpc2U80=; b=uwdECIfiflYfz4QI3RGOPLbMc9CJHjSfM0s/USwH45jwVlesO28UJYiCUZ0FI/xTfK ll/6zcmYkInWAatD8cXdbez5dlOR+OZxj92V6WpDN3qBi/byagoCo4SLbyu3RR4agV+6 5y7tQlz4rllY7Un701PbIeHXnswOXCjYNzIt4J9cvrWTtfQTphlJz9OKVZk6fCClUOJ1 uY0VuX50cp5jB9PVsKnB3cchxw3ERFDd6z13D3oeULYVLnIAzFCxBgedLer3N1/tTzRW EmppiJELwa0hx5XvekTZSNeFUMq363BjACuj3+8WeRiF7vb/K0AQ7XTJgD2KY1gwGepJ r/rQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 142si5111288ioc.178.2017.10.27.05.52.15; Fri, 27 Oct 2017 05:52:15 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 62C8561028; Fri, 27 Oct 2017 12:52:15 +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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 B22C061D48; Fri, 27 Oct 2017 12:50:32 +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 DDB4360B14; Fri, 27 Oct 2017 12:50:26 +0000 (UTC) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.linaro.org (Postfix) with ESMTPS id 34E7F6094B for ; Fri, 27 Oct 2017 12:50:24 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id w21so7313342lfc.6 for ; Fri, 27 Oct 2017 05:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=kdja5l+p/4QMu1Ce+zmmCqxzR75VfVRbzAQREpc2U80=; b=hj2IaCJAncFKgqT6DCyt5ZM6JIeSXw5MvjZOTM1N312GT0Th1slJ/kpt4IQzoPitrb +ne9ShwlXRWltNxp9JS04ZetunzgM3nS6Sm5VtpweqqE/2H2kToKfgDud5A1psMPvZId tCZoFzD3xNuKNy9+kU6GBXDQIVFJY9jLVVe2CG8vfGq/2IwswUU5nadq08dniQ92OwGX s1qXjZGOCCMBVJ/hxcf8UybBAuwjdndsUqzp6G8MihY8PDD+//axNX5pUQ4OrZlpQ1Wb aD+tqPlnPop8sgSIASTP24eKK+Yz9fT5oMcyu+sPUhm/LhuLdz1SDnpZ8SqlJlehie0j 5VbA== X-Gm-Message-State: AMCzsaX7nyLPb3wzPkjMgWZVXQMV76twtHsPOGkzYBU/OXJRIdVoQ/Ls ZMFNchuTvVZHwPTIsvMtGdq7jXf4a3S7YQ== X-Received: by 10.25.215.222 with SMTP id q91mr153751lfi.25.1509108622823; Fri, 27 Oct 2017 05:50:22 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.222]) by smtp.gmail.com with ESMTPSA id l194sm1584690lfl.11.2017.10.27.05.50.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:50:22 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 27 Oct 2017 15:49:48 +0300 Message-Id: <20171027125014.27313-5-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> References: <20171027125014.27313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH v10 04/30] helper: don't use __odp_force 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" __odp_force is not part of ODP API, so it should not be used directly. Signed-off-by: Dmitry Eremin-Solenikov --- helper/include/odp/helper/chksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.2 diff --git a/helper/include/odp/helper/chksum.h b/helper/include/odp/helper/chksum.h index 1bf950c8bed0..a80e8be5d7e6 100644 --- a/helper/include/odp/helper/chksum.h +++ b/helper/include/odp/helper/chksum.h @@ -58,7 +58,7 @@ static inline odp_u16sum_t odph_chksum(void *buffer, int len) sum += (sum >> 16); result = ~sum; - return (__odp_force odp_u16sum_t) result; + return (odp_u16sum_t)result; } /**