From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48])
 by dpdk.org (Postfix) with ESMTP id 0A9BE7F5D
 for <dev@dpdk.org>; Thu, 30 Oct 2014 00:55:33 +0100 (CET)
Received: by mail-wg0-f48.google.com with SMTP id m15so3047885wgh.35
 for <dev@dpdk.org>; Wed, 29 Oct 2014 17:04:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=kaNbJm62BM9BgE2l70+HOrfRf2vuk9CMkCDCD3J1v3Y=;
 b=IviOEbB9vyeicuKw8aiP0PzESjxoceCiCPef432KTcDbteft5YZBh/bW7oHSzszQnt
 lnoZl+Yh//OVbau/rd4gGRmrypVDIKto/80gvyFMYmRFvqBEpxd9retFIG6oIGaKwUR2
 GPFEGa8VCNVuZNE0Zr5I0Otw9Ie+SravQAEfaKUEzqHQb71GNH/LENicrDDK2ygcqw6L
 BHjFUCmzZ7L27IZO9Qwu3SfjjLH6U8hFUvkZvtPcWg7aYJ4QVHzY3XSk3b7PsLGCI8J8
 Fqs6KVUnOz7TW+AgaNoHyMsiwvbzkYr4PZ+r9R7nkMQryuWur0pjiuFOYU4FQhoW5Xpw
 5qXA==
X-Gm-Message-State: ALoCoQmPxuWGpyjSrI7E7SuqAo0Fo/Kuv2Mi76dKoZ/xJVT8Xw12cJekmE4iW238QV4C14A6LhUg
X-Received: by 10.194.240.68 with SMTP id vy4mr16555346wjc.36.1414627466705;
 Wed, 29 Oct 2014 17:04:26 -0700 (PDT)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by mx.google.com with ESMTPSA id s8sm6841567wjx.9.2014.10.29.17.04.25
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 29 Oct 2014 17:04:26 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Jincheng Miao <jmiao@redhat.com>
Date: Thu, 30 Oct 2014 01:04:07 +0100
Message-ID: <32178779.LGXfgoCJ7N@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.2 (Linux/3.17.1-1-ARCH; KDE/4.14.2; x86_64; ; )
In-Reply-To: <1414134451-1511-1-git-send-email-jmiao@redhat.com>
References: <1414134451-1511-1-git-send-email-jmiao@redhat.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] eal: replace strict_strtoul with kstrtoul
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2014 23:55:33 -0000

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