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:
535da7f
)
ps3fb: do not print warnings on invalid frame numbers
author
Geert Uytterhoeven
<
[email protected]
>
Tue, 16 Oct 2007 08:29:46 +0000
(
01:29
-0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 16 Oct 2007 16:43:21 +0000
(09:43 -0700)
Do not print warnings on invalid frame numbers, as this can be triggered from
user space.
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Cc: "Antonino A. Daplas" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/ps3fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/ps3fb.c
b/drivers/video/ps3fb.c
index eb8afc7ace03cb5f073031a7c44f197941231797..49069dba1b5d66171d046688603daf81e56c0947 100644
(file)
--- a/
drivers/video/ps3fb.c
+++ b/
drivers/video/ps3fb.c
@@
-389,8
+389,8
@@
static int ps3fb_sync(struct fb_info *info, u32 frame)
yres = ps3fb_res[i].yres;
if (frame > ps3fb.num_frames - 1) {
- dev_
warn
(info->device, "%s: invalid frame number (%u)\n",
-
__func__, frame);
+ dev_
dbg
(info->device, "%s: invalid frame number (%u)\n",
+ __func__, frame);
return -EINVAL;
}
offset = xres * yres * BPP * frame;