anon_inode_getfile might fail, so check its return value.
Signed-off-by: Tuomas Tynkkynen
---
drivers/base/dma-buf.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c
index 1219ab7..2d5ac1a 100644
--- a/drivers/base/dma-buf.c
anon_inode_getfile might fail, so check its return value.
Signed-off-by: Tuomas Tynkkynen
---
drivers/base/dma-buf.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c
index 1219ab7..2d5ac1a 100644
--- a/drivers/base/dma-buf.c