[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151015.233157.923931397415718098.davem@davemloft.net>
Date: Thu, 15 Oct 2015 23:31:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wuninsu@...il.com
Cc: amirv@...lanox.com, maorg@...lanox.com, ogerlitz@...lanox.com,
jackm@....mellanox.co.il, yishaih@...lanox.com,
viro@...IV.linux.org.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, taesoo@...ech.edu,
yeongjin.jang@...ech.edu, insu@...ech.edu
Subject: Re: [PATCH] mlx4: corretly check failed allocation
From: Insu Yun <wuninsu@...il.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@...il.com>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists