diff options
Diffstat (limited to 'drivers/base/dma-buf.c')
| -rw-r--r-- | drivers/base/dma-buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c index 6687ba741879..1219ab7c3107 100644 --- a/drivers/base/dma-buf.c +++ b/drivers/base/dma-buf.c | |||
| @@ -680,7 +680,7 @@ int dma_buf_debugfs_create_file(const char *name, | |||
| 680 | d = debugfs_create_file(name, S_IRUGO, dma_buf_debugfs_dir, | 680 | d = debugfs_create_file(name, S_IRUGO, dma_buf_debugfs_dir, |
| 681 | write, &dma_buf_debug_fops); | 681 | write, &dma_buf_debug_fops); |
| 682 | 682 | ||
| 683 | return PTR_RET(d); | 683 | return PTR_ERR_OR_ZERO(d); |
| 684 | } | 684 | } |
| 685 | #else | 685 | #else |
| 686 | static inline int dma_buf_init_debugfs(void) | 686 | static inline int dma_buf_init_debugfs(void) |
