On Fri, Nov 07, 2025 at 12:49:41PM -0400, Jason Gunthorpe wrote:
> Basic tests of establishing a dmabuf and revoking it. The selftest kernel
> side provides a basic small dmabuf for this testing.
> 
> Signed-off-by: Jason Gunthorpe <[email protected]>

Reviewed-by: Nicolin Chen <[email protected]>

> +static void iommufd_test_dma_buf_release(struct dma_buf *dmabuf)
> +{
> +     struct iommufd_test_dma_buf *priv = dmabuf->priv;
> +
> +     kfree(priv);
> +}

Missing
        kfree(priv->memory);
?

Reply via email to