[dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset on port

Thomas Monjalon thomas at monjalon.net
Thu Apr 20 23:12:08 CEST 2017


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


More information about the dev mailing list