提交 c7a5ae2f 编写于 作者: K Kirill A. Shutemov 提交者: Dave Airlie

gma500: mdfld_dsi_pkg_sender: fix -Wtype-limits warning

Signed-off-by: NKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 e4b9ff71
无相关合并请求
......@@ -482,7 +482,7 @@ int mdfld_dsi_send_gen_short(struct mdfld_dsi_pkg_sender *sender, u8 param0,
unsigned long flags;
u8 data_type;
if (!sender || param_num < 0 || param_num > 2) {
if (!sender || param_num > 2) {
DRM_ERROR("Invalid parameter\n");
return -EINVAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部