From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 4/9] eal/bus: support for scanning of bus Date: Wed, 18 Jan 2017 08:32:49 +0100 Message-ID: <1586261.pag0sYBMJ4@xps13> References: <1484647774-28984-1-git-send-email-shreyansh.jain@nxp.com> <1666796.CLgGY7A5Bb@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Shreyansh Jain Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 2D950F60C for ; Wed, 18 Jan 2017 08:32:51 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id c206so11637393wme.0 for ; Tue, 17 Jan 2017 23:32:51 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-18 05:15, Shreyansh Jain: > > > + * > > > + * @return > > > + * 0 for successful scan > > > + * !0 (<0) for unsuccessful scan with error value > > > > What do you mean with !0 (<0) ? > > I guess <0 is enough. > > > > Only to highlight that only '-ve' values would be returned. I will change it to !0 only. What is -ve? Why not specifying <0 if errors are always negative?