From patchwork Tue Sep 10 09:02:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 59090 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A3461EE54; Tue, 10 Sep 2019 11:02:33 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 261253237 for ; Tue, 10 Sep 2019 11:02:32 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 77C53B00073; Tue, 10 Sep 2019 09:02:28 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 10 Sep 2019 02:02:25 -0700 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 10 Sep 2019 02:02:25 -0700 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id x8A92MMp007643; Tue, 10 Sep 2019 10:02:22 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 0BF1D1613D1; Tue, 10 Sep 2019 10:02:22 +0100 (BST) From: Andrew Rybchenko To: Thomas Monjalon , Ferruh Yigit CC: , Igor Romanov Date: Tue, 10 Sep 2019 10:02:15 +0100 Message-ID: <1568106137-22974-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24898.005 X-TM-AS-Result: No-7.021200-4.000000-10 X-TMASE-MatchedRID: m/l8lVFgJ4tpokC3EjW38LmQWToO0X1/oUIbLcCfRuBvn11REP3xnroT xgoDFSNYE0xR9DL8LTUFoHn9QtC/noOqe3k3kLqBMpVOsYwN78N1l3bcy6o58ujX4qcbrSQnHFJ yCMrdNkmC3XU+ZmqWfCoQh1NymAT3ofaD2zI+zzycVWc2a+/ju30tCKdnhB58hYfw868k05bxyV DO2rxhe46HM5rqDwqtnKb9Ch5vbR9TJQPWzwL2w4qeDqj8/0yHL6pm01oeH6w0bvkFGoJo2pRpP nklbU5yb4XpLXT4iAZ14YeQoORqytnZKTSGwqx0hdeYev6ImzWyrFieOBrhBjzcWrt/fwYrRcB2 ZpPnVjJuI9MGG9suFpRMZUCEHkRt X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--7.021200-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24898.005 X-MDID: 1568106150-Ot0i3cwFRH7f Subject: [dpdk-dev] [PATCH 0/1] ethdev: change owner delete function return value to int X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" It is the seventh patch series to get rid of void returning functions in ethdev in accordance with deprecation notice [1]. It should be applied on top of [2], [3], [4], [5], [6] and [7]. It can be applied separately with simple merge coflicts resolved in documentation. Functions which return void are bad since they do not provide explicit information to the caller if everything is OK or not. [1] https://patches.dpdk.org/patch/56969/ [2] https://patches.dpdk.org/project/dpdk/list/?series=6279 [3] https://patches.dpdk.org/project/dpdk/list/?series=6334 [4] https://patches.dpdk.org/project/dpdk/list/?series=6335 [5] https://patches.dpdk.org/project/dpdk/list/?series=6308 [6] https://patches.dpdk.org/project/dpdk/list/?series=6350 [7] https://patches.dpdk.org/project/dpdk/list/?series=6355 Igor Romanov (1): ethdev: change owner delete function return value to int doc/guides/rel_notes/deprecation.rst | 1 - doc/guides/rel_notes/release_19_11.rst | 3 +++ drivers/net/netvsc/hn_ethdev.c | 5 ++++- lib/librte_ethdev/rte_ethdev.c | 6 +++++- lib/librte_ethdev/rte_ethdev.h | 4 +++- 5 files changed, 15 insertions(+), 4 deletions(-)