From: David Miller <davem@davemloft.net>
To: wuninsu@gmail.com
Cc: amirv@mellanox.com, maorg@mellanox.com, ogerlitz@mellanox.com,
jackm@dev.mellanox.co.il, yishaih@mellanox.com,
viro@ZenIV.linux.org.uk, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, taesoo@gatech.edu,
yeongjin.jang@gatech.edu, insu@gatech.edu
Subject: Re: [PATCH] mlx4: corretly check failed allocation
Date: Thu, 15 Oct 2015 23:31:57 -0700 (PDT) [thread overview]
Message-ID: <20151015.233157.923931397415718098.davem@davemloft.net> (raw)
In-Reply-To: <1444926249-29033-1-git-send-email-wuninsu@gmail.com>
From: Insu Yun <wuninsu@gmail.com>
Date: Thu, 15 Oct 2015 12:24:09 -0400
> When allocation fails, mlx4_alloc_cmd_mailbox returns -ENOMEM.
> Since there is no case that mlx4_alloc_cmd_mailbox returns NULL,
> it needs to be checked by IS_ERR, not IS_ERR_OR_NULL
>
> Signed-off-by: Insu Yun <wuninsu@gmail.com>
Applied to net-next, thanks.
prev parent reply other threads:[~2015-10-16 6:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 16:24 Insu Yun
2015-10-16 6:31 ` David Miller [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=20151015.233157.923931397415718098.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=amirv@mellanox.com \
--cc=insu@gatech.edu \
--cc=jackm@dev.mellanox.co.il \
--cc=linux-kernel@vger.kernel.org \
--cc=maorg@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=taesoo@gatech.edu \
--cc=viro@ZenIV.linux.org.uk \
--cc=wuninsu@gmail.com \
--cc=yeongjin.jang@gatech.edu \
--cc=yishaih@mellanox.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 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®