From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] lib/librte_vhost: fix bugs Date: Tue, 10 Apr 2018 09:43:41 +0200 Message-ID: <4ccaebf4-89f3-74ba-32cc-f75f174fd331@redhat.com> References: <20180409153429.20123-1-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "jianjay.zhou@huawei.com" , "Tan, Jianfeng" To: "Wodkowski, PawelX" , "Zhang, Roy Fan" , "dev@dpdk.org" Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 4CC4E1B8A6 for ; Tue, 10 Apr 2018 09:43:44 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Pawel, On 04/10/2018 09:32 AM, Wodkowski, PawelX wrote: >> # all source are stored in SRCS-y >> SRCS-$(CONFIG_RTE_LIBRTE_VHOST) := fd_man.c iotlb.c socket.c vhost.c \ >> diff --git a/lib/librte_vhost/vhost_crypto.c b/lib/librte_vhost/vhost_crypto.c >> index d84513e7f..2acfc908c 100644 >> --- a/lib/librte_vhost/vhost_crypto.c >> +++ b/lib/librte_vhost/vhost_crypto.c >> @@ -381,7 +381,7 @@ vhost_crypto_create_sess(struct vhost_crypto >> *vcrypto, >> return; >> } >> >> - VC_LOG_DBG("Session (key %lu, session %p) created.", >> + VC_LOG_DBG("Session (key %llu, session %p) created.", > > Why 'llu' instead of PRIu64 (here and there)? You are right, but Fan actually fixed it in updated version (the initial patch has been split in 3): [PATCH] vhost/crypto: fix session id printf Cheers, Maxime > Pawel >