Commits
![Insu Yun](https://secure.gravatar.com/avatar/651c8415ad54308b1dc7c0f6522e20a3.jpg?s=96&d=mm)
Insu Yun committed 175f8d6746a
mlx4: corretly check failed allocation 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> Signed-off-by: David S. Miller <davem@davemloft.net>