From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: fix Doxygen Date: Tue, 07 Aug 2018 15:41:45 +0200 Message-ID: <2013436.7W4QKxfn50@xps> References: <20180807020004.9218-1-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com, stable@dpdk.org, Petr Houska To: Pablo de Lara Return-path: In-Reply-To: <20180807020004.9218-1-pablo.de.lara.guarch@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/08/2018 04:00, Pablo de Lara: > rte_hash_lookup_data() and rte_hash_lookup_with_hash_data() > functions return the index of the table where the key is stored > when this is found, and not 0 as the Doxygen currently states. > > Also, these functions, and rte_hash_get_key_with_position() > return negative values when keys are not found (-EINVAL and -ENOENT), > where the minus sign was missing. > > Fixes: 473d1bebce43 ("hash: allow to store data in hash table") > Fixes: 6dc34e0afe7a ("hash: retrieve a key given its position") > Cc: stable@dpdk.org > > Reported-by: Petr Houska > Signed-off-by: Pablo de Lara Bugzilla ID: 78 Applied, thanks