From: Joe Perches <joe@perches.com>
To: Allen <allen.lkml@gmail.com>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH 1/1] x86:mm:return -ENOMEM if kzalloc() fails
Date: Wed, 06 Sep 2017 23:46:35 -0700 [thread overview]
Message-ID: <1504766795.7546.16.camel@perches.com> (raw)
In-Reply-To: <CAOMdWSLJ8dNDnY0nUHre3W2FUNm4Jf+divKqmAgQR5tnBfQ6jA@mail.gmail.com>
On Thu, 2017-09-07 at 12:08 +0530, Allen wrote:
> > On Thu, 2017-09-07 at 11:56 +0530, Allen Pais wrote:
> > > Currently on failure the value returned from kzalloc() is -1.
> > > It should return -ENOMEM.
> > >
> >
> > Looks like there are quite a few of these:
> > (probably several false positives too)
>
> The list is long. If the maintainers are okay with these clean-ups,
> i'll go ahead and get all of them done.
Make sure you check the calling chains to ensure that
the conversion from -1 to -12 doesn't break anything.
next prev parent reply other threads:[~2017-09-07 6:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 6:26 [PATCH 1/1] x86:mm:return -ENOMEM if kzalloc() fails Allen Pais
2017-09-07 6:33 ` Joe Perches
2017-09-07 6:38 ` Allen
2017-09-07 6:46 ` Joe Perches [this message]
2017-09-07 6:54 ` Allen
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=1504766795.7546.16.camel@perches.com \
--to=joe@perches.com \
--cc=allen.lkml@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@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