Loading drivers/base/dma-buf.c +4 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,10 @@ struct dma_buf *dma_buf_export_named(void *priv, const struct dma_buf_ops *ops, dmabuf->exp_name = exp_name; file = anon_inode_getfile("dmabuf", &dma_buf_fops, dmabuf, flags); if (IS_ERR(file)) { kfree(dmabuf); return ERR_CAST(file); } dmabuf->file = file; mutex_init(&dmabuf->lock); Loading Loading
drivers/base/dma-buf.c +4 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,10 @@ struct dma_buf *dma_buf_export_named(void *priv, const struct dma_buf_ops *ops, dmabuf->exp_name = exp_name; file = anon_inode_getfile("dmabuf", &dma_buf_fops, dmabuf, flags); if (IS_ERR(file)) { kfree(dmabuf); return ERR_CAST(file); } dmabuf->file = file; mutex_init(&dmabuf->lock); Loading