Hi, Thomas > -----Original Message----- > From: Thomas Monjalon [mailto:[email protected]] > Sent: Friday, April 21, 2017 5:12 AM > To: Zhao1, Wei <[email protected]>; Lu, Wenzhuo > <[email protected]> > Cc: [email protected] > Subject: Re: [dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset on > port > > 10/04/2017 05:02, Wei Zhao: > > + if (adapter->reset_store_data == NULL) { > > + PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed > to" > > + " to store data when reset vf", > > + sizeof(struct i40e_vf_reset_store)); > > Compilation fails for 32-bit. > %ld must be replaced by %zu
Ok, I will change as your suggestion in next version.

