From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753427AbbGIT2u (ORCPT ); Thu, 9 Jul 2015 15:28:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48792 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbbGIT2n (ORCPT ); Thu, 9 Jul 2015 15:28:43 -0400 Date: Thu, 9 Jul 2015 12:28:41 -0700 From: Andrew Morton To: Alexey Dobriyan Cc: linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk, Joe Perches Subject: Re: [PATCH 02/12] Add parse_integer() (replacement for simple_strto*()) Message-Id: <20150709122841.ed218895c5cda9186c91ae52@linux-foundation.org> In-Reply-To: <20150508183029.GB9044@p183.telecom.by> References: <20150508182911.GA9044@p183.telecom.by> <20150508183029.GB9044@p183.telecom.by> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 May 2015 21:30:29 +0300 Alexey Dobriyan wrote: > Enter parse_integer(). > > int parse_integer(const char *s, unsigned int base, T *val); OK, I grabbed these. Let's see how it goes. Were these patches still up to date? Presumably we'd benefit from a checkpatch rule to alert people to the new regime. Can you please suggest what such a rule should do? The macros in lib/test-parse-integer.c hurt my brain.