[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200114170509.1470-1-miquel.raynal@bootlin.com>
Date: Tue, 14 Jan 2020 18:05:09 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/3] mtd: onenand: samsung: Fix printing format for size_t on 64-bit
On Sun, 2019-12-29 at 18:36:11 UTC, Krzysztof Kozlowski wrote:
> Print size_t as %zu to fix -Wformat warnings when compiling on 64-bit
> platform (e.g. with COMPILE_TEST):
>
> drivers/mtd/nand/onenand/samsung_mtd.c: In function ‘s5pc110_read_bufferram’:
> drivers/mtd/nand/onenand/samsung_mtd.c:661:16: warning:
> format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
> dev_err(dev, "Couldn't map a %d byte buffer for DMA\n", count);
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists