Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758687AbcDLWwJ (ORCPT ); Tue, 12 Apr 2016 18:52:09 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:32914 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755926AbcDLWwH (ORCPT ); Tue, 12 Apr 2016 18:52:07 -0400 Date: Tue, 12 Apr 2016 15:52:32 -0700 From: Nicolin Chen To: Heinrich Schuchardt Cc: Timur Tabi , Xiubo Li , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] ASoC: fsl: imx-pcm-fiq: use correct format specifier Message-ID: <20160412225232.GA30229@Asurada-Nvidia> References: <1460494263-14805-1-git-send-email-xypron.glpk@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460494263-14805-1-git-send-email-xypron.glpk@gmx.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 30 On Tue, Apr 12, 2016 at 10:51:03PM +0200, Heinrich Schuchardt wrote: > Documentation/printk-formats.txt has > size_t: use %zu or %zx > > runtime->dma_bytes is of type size_t. > > Signed-off-by: Heinrich Schuchardt Acked-by: Nicolin Chen > --- > sound/soc/fsl/imx-pcm-fiq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c > index e63cd5e..dac6688 100644 > --- a/sound/soc/fsl/imx-pcm-fiq.c > +++ b/sound/soc/fsl/imx-pcm-fiq.c > @@ -220,7 +220,7 @@ static int snd_imx_pcm_mmap(struct snd_pcm_substream *substream, > ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, > runtime->dma_addr, runtime->dma_bytes); > > - pr_debug("%s: ret: %d %p %pad 0x%08x\n", __func__, ret, > + pr_debug("%s: ret: %d %p %pad 0x%08zx\n", __func__, ret, > runtime->dma_area, > &runtime->dma_addr, > runtime->dma_bytes); > -- > 2.1.4 >