projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24c815
)
video: udlfb: Use NULL instead of 0
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 25 Sep 2013 11:29:49 +0000
(16:59 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Thu, 26 Sep 2013 08:50:07 +0000
(11:50 +0300)
new_back is a pointer. Use NULL instead of 0.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/udlfb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/udlfb.c
b/drivers/video/udlfb.c
index d2e5bc3cf9696f4b1ab9785f10ff0a56c102a41a..025f14e30eed27d8f77b6e9c9522be802a77ebc8 100644
(file)
--- a/
drivers/video/udlfb.c
+++ b/
drivers/video/udlfb.c
@@
-1166,7
+1166,7
@@
static int dlfb_realloc_framebuffer(struct dlfb_data *dev, struct fb_info *info)
int new_len;
unsigned char *old_fb = info->screen_base;
unsigned char *new_fb;
- unsigned char *new_back =
0
;
+ unsigned char *new_back =
NULL
;
pr_warn("Reallocating framebuffer. Addresses will change!\n");