Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754051AbdHUQbI (ORCPT ); Mon, 21 Aug 2017 12:31:08 -0400 Received: from mga14.intel.com ([192.55.52.115]:10951 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753939AbdHUQbH (ORCPT ); Mon, 21 Aug 2017 12:31:07 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,409,1498546800"; d="scan'208";a="142863956" Date: Mon, 21 Aug 2017 22:03:56 +0530 From: Vinod Koul To: Arvind Yadav Cc: ludovic.desroches@microchip.com, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org Subject: Re: [PATCH 1/2] dmaengine: at_xdmac: Fix compilation warning. Message-ID: <20170821163355.GS3053@localhost> References: <878f9486ee507c227cb8835417c520b489c768c8.1502091778.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878f9486ee507c227cb8835417c520b489c768c8.1502091778.git.arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 258 Lines: 8 On Mon, Aug 07, 2017 at 01:15:18PM +0530, Arvind Yadav wrote: > Replace '%d' by '%zu' to fix the compilation warning:- > "format ‘%d’ expects argument of type ‘int’,but argument has type ‘size_t’ [-Wformat=]" Applied both, thanks -- ~Vinod