projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac30a9
)
dma-buf: Replace PTR_RET with PTR_ERR_OR_ZERO
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 15 Jul 2013 10:21:22 +0000
(15:51 +0530)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 16 Jul 2013 06:36:01 +0000
(16:06 +0930)
PTR_RET is now deprecated. Use PTR_ERR_OR_ZERO instead.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/base/dma-buf.c
patch
|
blob
|
history
diff --git
a/drivers/base/dma-buf.c
b/drivers/base/dma-buf.c
index 6687ba7418796429c95077de55c0664035b4d7ea..1219ab7c310757cdd493baf9101000b0c5d286b0 100644
(file)
--- 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,
d = debugfs_create_file(name, S_IRUGO, dma_buf_debugfs_dir,
write, &dma_buf_debug_fops);
- return PTR_
RET
(d);
+ return PTR_
ERR_OR_ZERO
(d);
}
#else
static inline int dma_buf_init_debugfs(void)