Thread (5 messages) 5 messages, 4 authors, 2022-01-10

Re: [EXT] [PATCH] scsi: qedf: potential dereference of null pointer

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-01-03 17:12:27
Also in: linux-scsi, lkml

On Mon, 3 Jan 2022 04:58:41 +0000 Saurav Kashyap wrote:
quoted
QEDF_TERM_BUFF_SIZE,
 		&term_params_dma, GFP_KERNEL);
+	if (!term_params)
+		return;  
<SK> Adding message about failure before returning will help in debugging.
Memory allocations produce a pretty detailed splat.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help