From: Julia Lawall <julia.lawall@lip6.fr>
To: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Cc: Amitoj Kaur Chawla <amitoj1606@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] goldfish: Return proper error code
Date: Wed, 17 Feb 2016 14:27:12 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.10.1602171426250.4547@hadrien> (raw)
In-Reply-To: <alpine.DEB.2.10.1602171419510.4547@hadrien>
On Wed, 17 Feb 2016, Julia Lawall wrote:
>
>
> On Wed, 17 Feb 2016, One Thousand Gnomes wrote:
>
> > On Wed, 17 Feb 2016 22:53:29 +0530
> > Amitoj Kaur Chawla <amitoj1606@gmail.com> wrote:
> >
> > > This change has been made with the goal that kernel functions should
> > > return something more descriptive than -1 on failure.
> > >
> > > Change the return value on valid_batchbuffer_addr() failure from -1
> > > to -EINVAL.
> > >
> > > Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
> >
> > NAK. It's not user visible, it's a piece of code that has a pile of other
> > more important fixes needed first, and it's also as far as possible kept
> > aligned with the Android upstream.
> >
> > If it were some random otherwise unchanging bit of code then it might
> > just about make sense but in this case no - especially when you only
> > change one of the two returns of -1 !
>
> The other has been chahged already in a patch in the staging tree. Maybe
> it's not in linux-next yet?
It's there too: 1d427da1d7f9f81c4f5439c9610683d3cb9c1921
julia
prev parent reply other threads:[~2016-02-17 19:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 17:23 Amitoj Kaur Chawla
2016-02-17 18:41 ` One Thousand Gnomes
2016-02-17 19:20 ` Julia Lawall
2016-02-17 19:27 ` Julia Lawall [this message]
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=alpine.DEB.2.10.1602171426250.4547@hadrien \
--to=julia.lawall@lip6.fr \
--cc=amitoj1606@gmail.com \
--cc=gnomes@lxorguk.ukuu.org.uk \
--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®