From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id CDFED1DB8 for ; Sat, 30 Mar 2019 23:33:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5BEB2202D1; Sat, 30 Mar 2019 18:33:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 30 Mar 2019 18:33:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Bf38wVSg8D0xLBiIO/8AtadDRZOKcLTkKd0ZcSu6n4M=; b=a/ICzISMYdG+ RC3XL7e1Ai65hp/XQSLFtVfgxnEwLXHyYPPMdJicoxCPKmi8LwmBnRy3tQOLa6Kt 7LWaUbym8VZxWmU1eTfuwMmQbflHmuqqcpoC7DH8D+mK7p3fl+ZTRnCI0zPNtaSD 0IKH9vS66ZMmlwUgWgCrNcC+2KCn118= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Bf38wVSg8D0xLBiIO/8AtadDRZOKcLTkKd0ZcSu6n 4M=; b=g2MpLFweBs8TM1dZXb5vaGqQMrtK4tmYe5N8fG/Ntpu5JdnUN+sgyIsJ7 dKe3XOSLZI7Vg8mgxfBYzKuVS+bWCZlhUmiJO4WZTO/efh56xFKpp3R0NMZIP2HR J6TGXDkpWkMPEntPrLvVg4W/cxMVCi7i5z8WYd0Y8TWitUbW3RHi/a1s8FZ3q7ht iNcIQBqTIaf/1ZCjPDs5JDLrVCiXxl5WlMNr7H3ZBJXvyR/uJ3bagtm2BsnRMgoh GXSxRHuKI1GcI3WnVyQQT34D6yzBhtS5hxFoDR8qgAip71pcRNz1bA2xz+ncihMO /nduM3SE2I8s91R6LVD9Aw1bOghAA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeelgdduieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A10DBE49DD; Sat, 30 Mar 2019 18:33:15 -0400 (EDT) From: Thomas Monjalon To: Natanael Copa Cc: dev@dpdk.org, hemant.agrawal@nxp.com Date: Sat, 30 Mar 2019 23:33:14 +0100 Message-ID: <1972452.b5dBhIr2mk@xps> In-Reply-To: <20190313170657.16688-11-ncopa@alpinelinux.org> References: <20190313170657.16688-1-ncopa@alpinelinux.org> <20190313170657.16688-11-ncopa@alpinelinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 10/15] bus/dpaa: use warn(3) instead of error(3) to improve portability 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: Sat, 30 Mar 2019 22:33:18 -0000 13/03/2019 18:06, Natanael Copa: > Fix build with musl libc by using warn(3) instead of error(3). > > This also fixes error message for kzmalloc failures which previously > would have given "Unknown error -1". I think this patch requires more explanations about what was the error, why using warn, and how it is related to kzmalloc failure log. Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 65BB7A05D3 for ; Sat, 30 Mar 2019 23:33:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 718AC1E33; Sat, 30 Mar 2019 23:33:19 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id CDFED1DB8 for ; Sat, 30 Mar 2019 23:33:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5BEB2202D1; Sat, 30 Mar 2019 18:33:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 30 Mar 2019 18:33:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Bf38wVSg8D0xLBiIO/8AtadDRZOKcLTkKd0ZcSu6n4M=; b=a/ICzISMYdG+ RC3XL7e1Ai65hp/XQSLFtVfgxnEwLXHyYPPMdJicoxCPKmi8LwmBnRy3tQOLa6Kt 7LWaUbym8VZxWmU1eTfuwMmQbflHmuqqcpoC7DH8D+mK7p3fl+ZTRnCI0zPNtaSD 0IKH9vS66ZMmlwUgWgCrNcC+2KCn118= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Bf38wVSg8D0xLBiIO/8AtadDRZOKcLTkKd0ZcSu6n 4M=; b=g2MpLFweBs8TM1dZXb5vaGqQMrtK4tmYe5N8fG/Ntpu5JdnUN+sgyIsJ7 dKe3XOSLZI7Vg8mgxfBYzKuVS+bWCZlhUmiJO4WZTO/efh56xFKpp3R0NMZIP2HR J6TGXDkpWkMPEntPrLvVg4W/cxMVCi7i5z8WYd0Y8TWitUbW3RHi/a1s8FZ3q7ht iNcIQBqTIaf/1ZCjPDs5JDLrVCiXxl5WlMNr7H3ZBJXvyR/uJ3bagtm2BsnRMgoh GXSxRHuKI1GcI3WnVyQQT34D6yzBhtS5hxFoDR8qgAip71pcRNz1bA2xz+ncihMO /nduM3SE2I8s91R6LVD9Aw1bOghAA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeelgdduieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A10DBE49DD; Sat, 30 Mar 2019 18:33:15 -0400 (EDT) From: Thomas Monjalon To: Natanael Copa Cc: dev@dpdk.org, hemant.agrawal@nxp.com Date: Sat, 30 Mar 2019 23:33:14 +0100 Message-ID: <1972452.b5dBhIr2mk@xps> In-Reply-To: <20190313170657.16688-11-ncopa@alpinelinux.org> References: <20190313170657.16688-1-ncopa@alpinelinux.org> <20190313170657.16688-11-ncopa@alpinelinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3 10/15] bus/dpaa: use warn(3) instead of error(3) to improve portability 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190330223314.WjocEClzDIoG95ZjUVrYL3F19QGmpgH08IBgis9cfRc@z> 13/03/2019 18:06, Natanael Copa: > Fix build with musl libc by using warn(3) instead of error(3). > > This also fixes error message for kzmalloc failures which previously > would have given "Unknown error -1". I think this patch requires more explanations about what was the error, why using warn, and how it is related to kzmalloc failure log. Thanks