“090264e508c20baa0c3eea5a7d8eea4db84a29cc”上不存在“drivers/git@gitcode.net:openanolis/cloud-kernel.git”
提交 17cc6281 编写于 作者: A Antonino A. Daplas 提交者: Linus Torvalds

[PATCH] fbdev: Coverity Bug 90

It's a false positive, but let's suppress it anyway.
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8126a044
无相关合并请求
...@@ -791,8 +791,9 @@ struct fb_videomode *fb_find_best_mode(struct fb_var_screeninfo *var, ...@@ -791,8 +791,9 @@ struct fb_videomode *fb_find_best_mode(struct fb_var_screeninfo *var,
if (diff > d) { if (diff > d) {
diff = d; diff = d;
best = mode; best = mode;
} else if (diff == d && mode->refresh > best->refresh) } else if (diff == d && best &&
best = mode; mode->refresh > best->refresh)
best = mode;
} }
} }
return best; return best;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部