From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: replace strict_strtoul with kstrtoul Date: Thu, 30 Oct 2014 01:04:07 +0100 Message-ID: <32178779.LGXfgoCJ7N@xps13> References: <1414134451-1511-1-git-send-email-jmiao@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Jincheng Miao Return-path: In-Reply-To: <1414134451-1511-1-git-send-email-jmiao-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Jincheng, 2014-10-24 15:07, Jincheng Miao: > From upstream kernel commit 3db2e9cd, strict_strto* serial functions > are removed. So that we should directly used kstrtoul instead. kstrtoul appeared in version 2.6.39 in commit 33ee3b2e2eb9b ("kstrto*: converting strings to integers done (hopefully) right") So we need a compatibility fallback. Thanks -- Thomas