Re: [bug report] PCI/P2PDMA: Support peer-to-peer memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 		if (!pdev->p2pdma)
> 
> In other words, I don't understand why we are testing "publish"...
> 
>    682			return;
>    683	
>    684		pdev->p2pdma->p2pmem_published = publish;
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. or simplify it even further to:

	if (pdev->p2pdma)
		pdev->p2pdma->p2pmem_published = publish;



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux