From: Takashi Iwai <tiwai@suse.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm v2] sound: convert to parse_integer()
Date: Wed, 29 Jul 2015 08:49:31 +0200 [thread overview]
Message-ID: <s5hr3nre9vo.wl-tiwai@suse.de> (raw)
In-Reply-To: <20150728140615.c83aec73856c187cb41dcb8b@linux-foundation.org>
On Tue, 28 Jul 2015 23:06:15 +0200,
Andrew Morton wrote:
>
> On Tue, 28 Jul 2015 00:03:01 +0300 Alexey Dobriyan <adobriyan@gmail.com> 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
next prev parent reply other threads:[~2015-07-29 6:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <55ad7455.egmJBODfpfpsZpe5%akpm@linux-foundation.org>
[not found] ` <s5hlhe6vyq2.wl-tiwai@suse.de>
2015-07-27 21:03 ` Alexey Dobriyan
2015-07-28 21:06 ` Andrew Morton
2015-07-29 6:49 ` Takashi Iwai [this message]
2015-07-29 6:55 ` Takashi Iwai
2015-07-27 21:07 ` + parse_integer-convert-sound.patch added to -mm tree Alexey Dobriyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hr3nre9vo.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®