From: Andy Shevchenko Date: Thu, 2 Aug 2012 16:05:49 +0000 (+0300) Subject: staging: vt6655: print small buffers with %*ph X-Git-Tag: v3.7-rc1~173^2~974 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a13aa83c6ba1f2ec9586ed851a7b66764674197e;p=platform%2Fkernel%2Flinux-exynos.git staging: vt6655: print small buffers with %*ph Signed-off-by: Andy Shevchenko Cc: Forest Bond Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/ioctl.c b/drivers/staging/vt6655/ioctl.c index ef197ef..ac15d38 100644 --- a/drivers/staging/vt6655/ioctl.c +++ b/drivers/staging/vt6655/ioctl.c @@ -539,11 +539,8 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) pMgmt->abyIBSSSuppRates[3] |= BIT7; } - DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Support Rate= %x %x %x %x\n", - pMgmt->abyIBSSSuppRates[2], - pMgmt->abyIBSSSuppRates[3], - pMgmt->abyIBSSSuppRates[4], - pMgmt->abyIBSSSuppRates[5]); + DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Support Rate= %*ph\n", + 4, pMgmt->abyIBSSSuppRates + 2); netif_stop_queue(pDevice->dev); spin_lock_irq(&pDevice->lock);