From: Chao Zhu <chaozhu@linux.vnet.ibm.com>
To: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] librte_hash: Fix compile errors on IBM POWER
Date: Wed, 9 Dec 2015 11:54:30 +0800 [thread overview]
Message-ID: <5667A5F6.2090806@linux.vnet.ibm.com> (raw)
In-Reply-To: <20151208091032.GA25103@localhost.localdomain>
Jerin,
Both stdio.h and stddef.h works on POWER. To make it work on ARM, I'll
use stddef.h and submit another patch.
Thanks!
On 2015/12/8 17:10, Jerin Jacob wrote:
> On Tue, Dec 08, 2015 at 04:28:52PM +0800, Chao Zhu wrote:
>> This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h.
>>
>> Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
>> ---
>> lib/librte_hash/rte_hash.h | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h
>> index 6494ade..5046e9b 100644
>> --- a/lib/librte_hash/rte_hash.h
>> +++ b/lib/librte_hash/rte_hash.h
>> @@ -41,6 +41,7 @@
>> */
>>
>> #include <stdint.h>
>> +#include <stdio.h>
> Thanks for the patch.
> The Same issue comes with arm64 GCC 5.2 compiler too.
> Shouldn't be stddef.h instead of stdio.h?
>
>>
>> #ifdef __cplusplus
>> extern "C" {
>> --
>> 1.7.1
>>
next prev parent reply other threads:[~2015-12-09 3:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 8:28 Chao Zhu
2015-12-08 9:10 ` Jerin Jacob
2015-12-09 3:54 ` Chao Zhu [this message]
2015-12-08 10:05 ` Thomas Monjalon
2015-12-09 4:11 Chao Zhu
2015-12-09 4:40 ` Jerin Jacob
2015-12-09 20:22 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5667A5F6.2090806@linux.vnet.ibm.com \
--to=chaozhu@linux.vnet.ibm.com \
--cc=dev@dpdk.org \
--cc=jerin.jacob@caviumnetworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).