From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id D26112C5 for ; Thu, 20 Apr 2017 23:12:10 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2EF85222EF; Thu, 20 Apr 2017 17:12:10 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 20 Apr 2017 17:12:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=P3a73LHU3hBPpAa nDkQxdYYTzfjiUbW0EL+W9rAuGTk=; b=OHyNsUoT5zxvctCwhJuwScd7OgiQ7SY JYfx583pXanC5nX9n/Ncs3oq5hgT4WYe0U5/QfsnWnXNzL8Of15d0lEX/0MlfIk9 W5kypdazb3eOk5K0p7TkNF+yXzOJVJro7Yk1BcAcVMgpLMLYguJxwjMUPtIn4jWS jBBzlkeZ0EQs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=P3a73LHU3hBPpAanDkQxdYYTzfjiUbW0EL+W9rAuGTk=; b=ZtqGHQ/8 kLtRJz9z/ueS2IIUZ22E0FDxktPuKH9aptGx0OG+sa8DRL58yKY185/S6JVzPhfv nsUZNYg+LBlMmon308eYCmSbDHe2ai8DKCJzq7+7wuQyTzJ6eXySunrPRViemUkC p8jhKXqBr+kryW5clEAnaAaGpCWKyU7IIS+F4J7mDTjlXgmacELEr1igr/TjquYV Fv4+YhOFjz58uYELyOjuVrmJ0p+SDhzKtKKLGDaqx4ix+KjIL4AON3HvPXnLQGAx 5jL+B5cCie/6vwYpr7xSa1nEW7ogKgzhUCZFZN6IOgs0mptrMDDCaJF82vbWUMly DqlCxwDWhQ/gbQ== X-ME-Sender: X-Sasl-enc: 1mP/NiuwUBDsPB9rRdkTtupqSnAzCqCPeIb0LlDadrpz 1492722729 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C7D537E6F6; Thu, 20 Apr 2017 17:12:09 -0400 (EDT) From: Thomas Monjalon To: Wei Zhao , Wenzhuo Lu Cc: dev@dpdk.org Date: Thu, 20 Apr 2017 23:12:08 +0200 Message-ID: <1695798.icjDa5TUky@xps> In-Reply-To: <1491793349-46840-3-git-send-email-wei.zhao1@intel.com> References: <1491461483-39861-1-git-send-email-wei.zhao1@intel.com> <1491793349-46840-1-git-send-email-wei.zhao1@intel.com> <1491793349-46840-3-git-send-email-wei.zhao1@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset on port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 21:12:11 -0000 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