From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517AbbG2Gtd (ORCPT ); Wed, 29 Jul 2015 02:49:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:48479 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbbG2Gtc (ORCPT ); Wed, 29 Jul 2015 02:49:32 -0400 Date: Wed, 29 Jul 2015 08:49:31 +0200 Message-ID: From: Takashi Iwai To: Andrew Morton Cc: Alexey Dobriyan , linux-kernel@vger.kernel.org Subject: Re: [PATCH -mm v2] sound: convert to parse_integer() In-Reply-To: <20150728140615.c83aec73856c187cb41dcb8b@linux-foundation.org> References: <55ad7455.egmJBODfpfpsZpe5%akpm@linux-foundation.org> <20150727210301.GA24623@p183.telecom.by> <20150728140615.c83aec73856c187cb41dcb8b@linux-foundation.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.5 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Jul 2015 23:06:15 +0200, Andrew Morton wrote: > > On Tue, 28 Jul 2015 00:03:01 +0300 Alexey Dobriyan wrote: > > > Convert away from deprecated simple_strto*() interfaces to > > parse_integer() and kstrto*(). > > The patch does a lot more than this! It also adds lots of handling of > previously-ignored errors. Yes, please give more description. > And it thereby introduces possible back-compatibility issues. Someone > who is doing "echo 42foo > wherever" will now get an error, whereas > they previously got 42. Right, many strings don't care about spaces, i.e. it contains trailing spaces, so the patch seems doing way too strict. I think it's better to omit the word termination check in each place. > So hm. Probably a good patch and I'll stick it in -mm for testing, but > this should go upstream via tiwai, please. Well, but parse_integer() isn't upstreamed yet, so it has to be after mm tree, right? thanks, Takashi