mirror of https://gitee.com/openkylin/linux.git
staging: sm750fb: print error message with actual value
This patch will update error message, so it is same as error message in another function. Signed-off-by: Matej Dujava <mdujava@kocurkovo.cz> Link: https://lore.kernel.org/r/1588277366-19354-4-git-send-email-mdujava@kocurkovo.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b610e1193a
commit
3aff3c974b
|
@ -390,7 +390,7 @@ static int lynxfb_ops_set_par(struct fb_info *info)
|
|||
var->accel_flags = 0;/*FB_ACCELF_TEXT;*/
|
||||
|
||||
if (ret) {
|
||||
pr_err("pixel bpp format not satisfied\n.");
|
||||
pr_err("bpp %d not supported\n", var->bits_per_pixel);
|
||||
return ret;
|
||||
}
|
||||
ret = hw_sm750_crtc_setMode(crtc, var, fix);
|
||||
|
|
Loading…
Reference in New Issue