提交 ceeddb4e 编写于 作者: S Sachin Kamat 提交者: Tomi Valkeinen

video: udlfb: Use NULL instead of 0

new_back is a pointer. Use NULL instead of 0.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 d24c815b
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册