diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-03-08 11:11:38 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-10 08:06:28 -0500 |
commit | c7a5ae2f232e77ffd4e0713a6d72cb20471ae81c (patch) | |
tree | cb74a8f32e7aa23ccc4175bcfc1636c9ab4879d1 | |
parent | e4b9ff716fd6b49b062884e339882efe305e922f (diff) |
gma500: mdfld_dsi_pkg_sender: fix -Wtype-limits warning
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c index f193acec657e..baa0e14165e0 100644 --- a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c +++ b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c | |||
@@ -482,7 +482,7 @@ int mdfld_dsi_send_gen_short(struct mdfld_dsi_pkg_sender *sender, u8 param0, | |||
482 | unsigned long flags; | 482 | unsigned long flags; |
483 | u8 data_type; | 483 | u8 data_type; |
484 | 484 | ||
485 | if (!sender || param_num < 0 || param_num > 2) { | 485 | if (!sender || param_num > 2) { |
486 | DRM_ERROR("Invalid parameter\n"); | 486 | DRM_ERROR("Invalid parameter\n"); |
487 | return -EINVAL; | 487 | return -EINVAL; |
488 | } | 488 | } |