Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752510AbbK3DqD (ORCPT ); Sun, 29 Nov 2015 22:46:03 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:48212 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840AbbK3DqA (ORCPT ); Sun, 29 Nov 2015 22:46:00 -0500 Date: Sun, 29 Nov 2015 22:45:57 -0500 (EST) Message-Id: <20151129.224557.1010909057566457373.davem@davemloft.net> To: clabbe.montjoie@gmail.com Cc: 3chas3@gmail.com, linux-atm-general@lists.sourceforge.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] atm: solos-pci: Replace simple_strtol by kstrtoint From: David Miller In-Reply-To: <1448459081-6427-1-git-send-email-clabbe.montjoie@gmail.com> References: <1448459081-6427-1-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 29 Nov 2015 19:45:59 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 654 Lines: 17 From: LABBE Corentin Date: Wed, 25 Nov 2015 14:44:41 +0100 > The simple_strtol function is obsolete. > This patch replace it by kstrtoint. > This will simplify code, since some error case not handled by > simple_strtol are handled by kstrtoint. > > Signed-off-by: LABBE Corentin kstrtoint() actually returns an accurate error code, so please use it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/