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:
28ce420
)
sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 15 Jul 2013 10:27:07 +0000
(15:57 +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/media/platform/sh_veu.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/sh_veu.c
b/drivers/media/platform/sh_veu.c
index aa4cca371cbffbd0b98613e9ac6d8661737b9f27..744e43b480bcc217f3da9522cc992061fa7f691a 100644
(file)
--- a/
drivers/media/platform/sh_veu.c
+++ b/
drivers/media/platform/sh_veu.c
@@
-359,7
+359,7
@@
static int sh_veu_context_init(struct sh_veu_dev *veu)
veu->m2m_ctx = v4l2_m2m_ctx_init(veu->m2m_dev, veu,
sh_veu_queue_init);
- return PTR_
RET
(veu->m2m_ctx);
+ return PTR_
ERR_OR_ZERO
(veu->m2m_ctx);
}
static int sh_veu_querycap(struct file *file, void *priv,