Re: [PATCH] usnix: correctly handle kzalloc return value
From: Dave Goodell
Date: Mon Oct 19 2015 - 12:34:18 EST
On Sat, Oct 17, 2015 at 07:06:56PM +0000, Insu Yun wrote:
> Since kzalloc returns memory address, not error code,
> it should be checked whether it is null or not.
>
> Signed-off-by: Insu Yun <wuninsu@xxxxxxxxx>
> ---
> drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
The subject says "usnix" where it should say "usnic". Otherwise:
Reviewed-by: Dave Goodell <dgoodell@xxxxxxxxx>
If you have more of these fixes for drivers/infiniband/hw/usnic/, you
can send them all through just Doug Ledford and linux-rdma@, no need to
copy all of linux-kernel@. You can also CC me instead of Upinder, whose
email bounces at this point, though I will see your patches sent to
linux-rdma@ even if I'm not explicitly CC-ed. The patch to update
MAINTAINERS for usnic has been submitted but hasn't yet percolated
somewhere you would have seen it:
https://patchwork.kernel.org/patch/7410421/
-Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/