diff mbox

api: packet_io: remove specific errno value

Message ID 1424957908-6388-1-git-send-email-petri.savolainen@linaro.org
State Accepted
Commit dcc1442984641cd83af897b55afdd21647e3f73f
Headers show

Commit Message

Petri Savolainen Feb. 26, 2015, 1:38 p.m. UTC
Remove the specific value. This was the only errno value
specified in the API. Add specific values when we have
selected the set (and mechanism) of possible errno values
for all APIs.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
---
 include/odp/api/packet_io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bill Fischofer Feb. 26, 2015, 2:30 p.m. UTC | #1
On Thu, Feb 26, 2015 at 7:38 AM, Petri Savolainen <
petri.savolainen@linaro.org> wrote:

> Remove the specific value. This was the only errno value
> specified in the API. Add specific values when we have
> selected the set (and mechanism) of possible errno values
> for all APIs.
>
> Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
>

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


> ---
>  include/odp/api/packet_io.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
> index fdafdd9..6d31aeb 100644
> --- a/include/odp/api/packet_io.h
> +++ b/include/odp/api/packet_io.h
> @@ -48,7 +48,7 @@ extern "C" {
>   * Open an ODP packet IO instance
>   *
>   * Packet IO handles are single instance per device, attempts to open an
> already
> - * open device will fail, returning ODP_PKTIO_INVALID with errno set to
> -EEXIST.
> + * open device will fail, returning ODP_PKTIO_INVALID with errno set.
>   * odp_pktio_lookup() may be used to obtain a handle to an already open
> device.
>   *
>   * @param dev    Packet IO device name
> --
> 2.3.0
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Feb. 26, 2015, 2:58 p.m. UTC | #2
Merged.

Maxim.

On 02/26/2015 05:30 PM, Bill Fischofer wrote:
>
>
> On Thu, Feb 26, 2015 at 7:38 AM, Petri Savolainen 
> <petri.savolainen@linaro.org <mailto:petri.savolainen@linaro.org>> wrote:
>
>     Remove the specific value. This was the only errno value
>     specified in the API. Add specific values when we have
>     selected the set (and mechanism) of possible errno values
>     for all APIs.
>
>     Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org
>     <mailto:petri.savolainen@linaro.org>>
>
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
>     ---
>      include/odp/api/packet_io.h | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
>     index fdafdd9..6d31aeb 100644
>     --- a/include/odp/api/packet_io.h
>     +++ b/include/odp/api/packet_io.h
>     @@ -48,7 +48,7 @@ extern "C" {
>       * Open an ODP packet IO instance
>       *
>       * Packet IO handles are single instance per device, attempts to
>     open an already
>     - * open device will fail, returning ODP_PKTIO_INVALID with errno
>     set to -EEXIST.
>     + * open device will fail, returning ODP_PKTIO_INVALID with errno set.
>       * odp_pktio_lookup() may be used to obtain a handle to an
>     already open device.
>       *
>       * @param dev    Packet IO device name
>     --
>     2.3.0
>
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Maxim Uvarov Feb. 27, 2015, 2:36 p.m. UTC | #3
Merged.
Maxim.

On 02/26/2015 05:30 PM, Bill Fischofer wrote:
>
>
> On Thu, Feb 26, 2015 at 7:38 AM, Petri Savolainen 
> <petri.savolainen@linaro.org <mailto:petri.savolainen@linaro.org>> wrote:
>
>     Remove the specific value. This was the only errno value
>     specified in the API. Add specific values when we have
>     selected the set (and mechanism) of possible errno values
>     for all APIs.
>
>     Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org
>     <mailto:petri.savolainen@linaro.org>>
>
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
>     ---
>      include/odp/api/packet_io.h | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
>     index fdafdd9..6d31aeb 100644
>     --- a/include/odp/api/packet_io.h
>     +++ b/include/odp/api/packet_io.h
>     @@ -48,7 +48,7 @@ extern "C" {
>       * Open an ODP packet IO instance
>       *
>       * Packet IO handles are single instance per device, attempts to
>     open an already
>     - * open device will fail, returning ODP_PKTIO_INVALID with errno
>     set to -EEXIST.
>     + * open device will fail, returning ODP_PKTIO_INVALID with errno set.
>       * odp_pktio_lookup() may be used to obtain a handle to an
>     already open device.
>       *
>       * @param dev    Packet IO device name
>     --
>     2.3.0
>
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
index fdafdd9..6d31aeb 100644
--- a/include/odp/api/packet_io.h
+++ b/include/odp/api/packet_io.h
@@ -48,7 +48,7 @@  extern "C" {
  * Open an ODP packet IO instance
  *
  * Packet IO handles are single instance per device, attempts to open an already
- * open device will fail, returning ODP_PKTIO_INVALID with errno set to -EEXIST.
+ * open device will fail, returning ODP_PKTIO_INVALID with errno set.
  * odp_pktio_lookup() may be used to obtain a handle to an already open device.
  *
  * @param dev    Packet IO device name