From patchwork Mon Oct 23 11:10:32 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: 116678 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4517974qgn; Mon, 23 Oct 2017 04:12:06 -0700 (PDT) X-Received: by 10.200.53.111 with SMTP id z44mr19795602qtb.12.1508757126890; Mon, 23 Oct 2017 04:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508757126; cv=none; d=google.com; s=arc-20160816; b=RIcsNSLBolDd6y5POc8Jz8CaruRWaW+Kp/S0Rd1Ege80EAXoY+6IDq+5MWSg971YU+ J9ApxyLg5EKcHnSPjiDuhH9D4yRaWxqyodZes81LsRH/fNSuy0MkqbL/gZbMjsEB5Hib yMPnA9pmVMaD7jgWe6ou2dFnSik7RM2I+bfe1PqjhRmlJocNKEutgNCzztnLl726S9EH jK1fsif+77ILFlzZM+OS3NCon+BL9+Jn7kDYKSNPS7jssd+xRXc7ZDXC5jYA7kziGyO2 GYhBdAcXoGAiOu+HqCG68erdb+AlgAMgBfAN44b/MQ4x7uJN+R0JQ9SXKic2vkiNQpWc eJCw== 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=MBeumRPqEznoF7VCAwg86VxMFeCYOPiWEmIBrIu7j2+Q+FXe8Zur432CN9ZOgQh8wx ajVoaN7FNaAIdP9cyz+US7fa619YJu6Brho3NbRYUakP4z3fWEia5nqjVYDNs9Hyw2br Yw3EqJAgNmWO3S3vVWrOl4ksx5lIkmI9rgWSYLr0P6CtttRMC3CEzHHtvkod3NGmtO3Q HjHVGmoLoyHFPX6TakwgzR8Nw/DcplBlLICgz2w4OSepRaeLltdJlswFAH93tSCFbw+b 8BeXrRn8XdBf69zpyzAYqHue8zuIAIbj4FG2TA4gZAPKn7uNXDMIo34T0VhMH0ctLFxl 77Ag== 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 54si3131796qto.365.2017.10.23.04.12.06; Mon, 23 Oct 2017 04:12:06 -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 7CCFF622A9; Mon, 23 Oct 2017 11:12:06 +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 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 F1E0B61C9E; Mon, 23 Oct 2017 11:11:13 +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 8E00E61653; Mon, 23 Oct 2017 11:11:08 +0000 (UTC) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.linaro.org (Postfix) with ESMTPS id C646261613 for ; Mon, 23 Oct 2017 11:11:06 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id n143so2764002lfb.11 for ; Mon, 23 Oct 2017 04:11:06 -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=oHb1s8BFKWrCty+HH0UwuPzsTptsId0CUsKI3Sb8nuBzAFRrSTcXehUsY6gBw7lY61 64CQKrX71EMlBQb5utWFsZcSvBEpLteUK2wgMxGaUGB7dlxNG7ml9tfixioZpntdqV9h l0dGWUul+0ZA1p/ytE4WMRVI4ti8rhBH+SIl0EiOe1yTu1rED6kBwIBKQnwjyMmib+XT hicQD+jRs1B/QMcpIv39BqxlfKR3G0rMqCnOeJyS8FdjnODtBoLkd6n4Uu+lLilkYxlO FyfZNogQU1L7EOeaikmzghv/TSDFmBmvdOKO8FpphpfsV1RPyjHbqUbe/AKJOrwsRAT2 ThUw== X-Gm-Message-State: AMCzsaXkELMfKSLY57/cP21OcF/EAjB+I7hxzdNqmIdSYAhueduK9aIY 9mLONtKjNW0jjZWseSIlQ6QrCzret20EKg== X-Google-Smtp-Source: ABhQp+Tw+k4v90Zn2eijU+CO745ft2UoS1ke4dKzC5zlFIf4rkXr6f0Y2+czlpFdDF3fmS7OSCSiKw== X-Received: by 10.46.58.17 with SMTP id h17mr5288630lja.194.1508757065495; Mon, 23 Oct 2017 04:11:05 -0700 (PDT) Received: from rhovanion.lumag.spb.ru ([94.25.228.135]) by smtp.gmail.com with ESMTPSA id i66sm1854643lji.51.2017.10.23.04.11.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Oct 2017 04:11:04 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Mon, 23 Oct 2017 14:10:32 +0300 Message-Id: <20171023111057.6328-5-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171023111057.6328-1-dmitry.ereminsolenikov@linaro.org> References: <20171023111057.6328-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH 04/29] 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; } /**