projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b9ff7
)
gma500: mdfld_dsi_pkg_sender: fix -Wtype-limits warning
author
Kirill A. Shutemov
<
[email protected]
>
Thu, 8 Mar 2012 16:11:38 +0000
(16:11 +0000)
committer
Dave Airlie
<
[email protected]
>
Sat, 10 Mar 2012 13:06:28 +0000
(13:06 +0000)
Signed-off-by: Kirill A. Shutemov <
[email protected]
>
Signed-off-by: Alan Cox <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c
b/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c
index f193acec657ec535bbfe96dd45d20b00ae9ae560..baa0e14165e0fb531833cdb57492f371443c30f5 100644
(file)
--- 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,
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;
}