ps3fb: Do not print warnings on invalid frame numbers
Subsystems (3)
PATCH 2/15 ps3fb: Do not print warnings on invalid frame numbers
From: Geert Uytterhoeven <[email protected]>
ps3fb: Do not print warnings on invalid frame numbers, as this can be triggered from user space.
Signed-off-by Geert Uytterhoeven <[email protected]>
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/video/ps3fb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/ps3fb.c +2 -2
@@ -389,8 +389,8 @@ static int ps3fb_sync(struct fb_info *in 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;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/