From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Ledford Subject: Re: [PATCH] IB/usnic: check for allocation failure Date: Mon, 28 Aug 2017 19:16:53 -0400 Message-ID: <1503962213.52034.8.camel@redhat.com> References: <20170825083030.rga3kllp55xnr3jf@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170825083030.rga3kllp55xnr3jf@mwanda> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dan Carpenter , Christian Benvenuti , Upinder Malhi Cc: Dave Goodell , Sean Hefty , Hal Rosenstock , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Fri, 2017-08-25 at 11:43 +0300, Dan Carpenter wrote: > usnic_uiom_get_dev_list() can return ERR_PTR(-ENOMEM) so we should > check > for that. > > Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware > driver") > Signed-off-by: Dan Carpenter Thanks, applied. -- Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html