From: Cezary Rojewski Subject: Re: [PATCH] ASoC: Intel: hsw: remove i386 build warning w/ size_t argument Date: Tue, 13 Aug 2019 08:11:44 +0200 Message-ID: References: <20190812140305.17570-1-pierre-louis.bossart@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 432DDF8015A for ; Tue, 13 Aug 2019 08:11:49 +0200 (CEST) In-Reply-To: <20190812140305.17570-1-pierre-louis.bossart@linux.intel.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Pierre-Louis Bossart Cc: tiwai@suse.de, alsa-devel@alsa-project.org, broonie@kernel.org, kbuild test robot List-Id: alsa-devel@alsa-project.org On 2019-08-12 16:03, Pierre-Louis Bossart wrote: > Recent changes in the common IPC code introduced a build warning with > size_t fields, use the correct %zu format. > > include/linux/dynamic_debug.h:82:16: warning: format '%lu' expects > argument of type 'long unsigned int', but argument 4 has type 'size_t' > [-Wformat=] > > Fixes: abf31feea26c0 ('ASoC: Intel: Update request-reply IPC model') > Reported-by: kbuild test robot > Cc: Cezary Rojewski > Signed-off-by: Pierre-Louis Bossart > --- > sound/soc/intel/haswell/sst-haswell-ipc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/soc/intel/haswell/sst-haswell-ipc.c b/sound/soc/intel/haswell/sst-haswell-ipc.c > index 5c73b11375e3..0ff89ea96ccf 100644 > --- a/sound/soc/intel/haswell/sst-haswell-ipc.c > +++ b/sound/soc/intel/haswell/sst-haswell-ipc.c > @@ -2015,11 +2015,11 @@ int sst_hsw_module_set_param(struct sst_hsw *hsw, > > if (payload_size <= SST_HSW_IPC_MAX_SHORT_PARAMETER_SIZE) { > /* short parameter, mailbox can contain data */ > - dev_dbg(dev, "transfer parameter size : %lu\n", > + dev_dbg(dev, "transfer parameter size : %zu\n", > request.size); > > request.size = ALIGN(payload_size, 4); > - dev_dbg(dev, "transfer parameter aligned size : %lu\n", > + dev_dbg(dev, "transfer parameter aligned size : %zu\n", > request.size); > > parameter = kzalloc(request.size, GFP_KERNEL); > Acked-By: Cezary Rojewski