All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Samuel <chris@csamuel.org>
To: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Cc: linux-btrfs@vger.kernel.org, chris.mason@oracle.com
Subject: Re: [PATCH] btrfs: checking NULL or not in some functions
Date: Wed, 02 Feb 2011 16:07:26 +1100	[thread overview]
Message-ID: <4D48E68E.7000502@csamuel.org> (raw)
In-Reply-To: <201102010917.AA00006@T-ITOH1.jp.fujitsu.com>

On 01/02/11 20:17, Tsutomu Itoh wrote:

> Because NULL is returned when the memory allocation fails,
> it is checked whether it is NULL. 

Were the callers modified to cope with these functions
returning -ENOMEM ?

cheers,
Chris (way behind with email)
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

  reply	other threads:[~2011-02-02  5:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01  9:17 [PATCH] btrfs: checking NULL or not in some functions Tsutomu Itoh
2011-02-02  5:07 ` Chris Samuel [this message]
2011-02-02  5:33   ` Tsutomu Itoh

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=4D48E68E.7000502@csamuel.org \
    --to=chris@csamuel.org \
    --cc=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=t-itoh@jp.fujitsu.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.