Re: [PATCH] atm: eni: Add check for dma_map_single

From: Jiasheng Jiang <hidden>
Date: 2022-03-14 01:27:06
Also in: lkml

On Sat, 12 Mar 2022 15:04:38 +0800 Jakub Kicinski wrote:
quoted
+	if (dma_mapping_error(&eni_dev->pci_dev->dev, paddr))
+		return enq_jam;
Probably better to drop the packet if mapping fails.
Thanks, I will submit a v2 changing to "enq_jam".

Jiang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help