From patchwork Thu Feb 26 13:38:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 45177 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 639F420674 for ; Thu, 26 Feb 2015 13:39:10 +0000 (UTC) Received: by wesq59 with SMTP id q59sf8153273wes.2 for ; Thu, 26 Feb 2015 05:39:09 -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=I80Y2kq+ZwfLcuRzcH2JPRnd6R9pxrCkY2EV3xHHFLg=; b=kRzN0CfyJSxsFiITSH6OiJV20M84NSVTCCYXZtd+Te0/PSpH4JOZ2a0qU0X/cCWYR4 ARnYFCqMnjK0Iqf9jC539Tq14CFBRQJCE0vGsIMuJ8S3cpwFJTRkwl37Zt5FfmnYzrtS 8aOEvlAjoJ5BymgtwmSo3jFhr96pb8Gt9Ktw9PO8mDPF3hhI9z/lTdvkzO+MEPGnwalV uanhxXlXJq/PzAdp+6MC4TKOxxLLcyzaipIIQ1LedesV3F+rYcop2YmShN33hWmWG5xl QPcAbCd5ZMM1RSRD18MkxLXJr5rASFJjsjf32bFQZMtw5QkQieMxyIH8cWsMhk24UXms mcrA== X-Gm-Message-State: ALoCoQmv1BmQFWRfnHi8iGsaUbgdH0Ce2od3uEvOXnbgj/rEYfeBIWfPa+3rgP3ZnYHDZIoa+2a4 X-Received: by 10.112.130.70 with SMTP id oc6mr1324817lbb.13.1424957949662; Thu, 26 Feb 2015 05:39:09 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.137 with SMTP id s9ls33446las.15.gmail; Thu, 26 Feb 2015 05:39:09 -0800 (PST) X-Received: by 10.112.167.231 with SMTP id zr7mr7537075lbb.123.1424957949514; Thu, 26 Feb 2015 05:39:09 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id wr6si666576lbc.27.2015.02.26.05.39.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 05:39:09 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbvp9 with SMTP id p9so10865473lbv.0 for ; Thu, 26 Feb 2015 05:39:09 -0800 (PST) X-Received: by 10.112.118.211 with SMTP id ko19mr7589226lbb.19.1424957949238; Thu, 26 Feb 2015 05:39:09 -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 h5csp3305153lbj; Thu, 26 Feb 2015 05:39:08 -0800 (PST) X-Received: by 10.140.231.151 with SMTP id b145mr18056296qhc.22.1424957947823; Thu, 26 Feb 2015 05:39:07 -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 u123si733589qhd.31.2015.02.26.05.39.06 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 26 Feb 2015 05:39:07 -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 1YQyee-0001L0-Bt; Thu, 26 Feb 2015 13:39:04 +0000 Received: from mail-qa0-f50.google.com ([209.85.216.50]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQyeS-0001Kt-N3 for lng-odp@lists.linaro.org; Thu, 26 Feb 2015 13:38:52 +0000 Received: by mail-qa0-f50.google.com with SMTP id f12so7687741qad.9 for ; Thu, 26 Feb 2015 05:38:47 -0800 (PST) X-Received: by 10.140.21.48 with SMTP id 45mr17370394qgk.87.1424957927520; Thu, 26 Feb 2015 05:38:47 -0800 (PST) Received: from mcpro03.emea.nsn-net.net (ec2-23-23-178-99.compute-1.amazonaws.com. [23.23.178.99]) by mx.google.com with ESMTPSA id p7sm487600qaa.34.2015.02.26.05.38.44 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Feb 2015 05:38:46 -0800 (PST) From: Petri Savolainen To: lng-odp@lists.linaro.org Date: Thu, 26 Feb 2015 15:38:28 +0200 Message-Id: <1424957908-6388-1-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.3.0 X-Topics: patch Subject: [lng-odp] [PATCH] api: packet_io: remove specific errno value 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: petri.savolainen@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.176 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 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 Reviewed-by: Bill Fischofer --- 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