From: Andy Shevchenko Date: Thu, 2 Aug 2012 16:05:52 +0000 (+0300) Subject: staging: xgifb: print small buffers via %*ph X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=977310bbc3751ae507d4570cc556193bfbd7f9e7;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git staging: xgifb: print small buffers via %*ph Signed-off-by: Andy Shevchenko Cc: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 64ffd70eb7dc..0c859aecc225 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -913,17 +913,10 @@ static void XGIfb_post_setmode(struct xgifb_video_info *xgifb_info) } if ((filter >= 0) && (filter <= 7)) { - pr_debug("FilterTable[%d]-%d: %02x %02x %02x %02x\n", + pr_debug("FilterTable[%d]-%d: %*ph\n", filter_tb, filter, - XGI_TV_filter[filter_tb]. - filter[filter][0], - XGI_TV_filter[filter_tb]. - filter[filter][1], - XGI_TV_filter[filter_tb]. - filter[filter][2], - XGI_TV_filter[filter_tb]. - filter[filter][3] - ); + 4, XGI_TV_filter[filter_tb]. + filter[filter]); xgifb_reg_set( XGIPART2, 0x35,