aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2019-12-29 19:36:11 +0100
committerMiquel Raynal <[email protected]>2020-01-21 20:00:34 +0100
commit440c24535caf9a2ae393a555b2e23854037d65e2 (patch)
tree9fd3f0222d8f3281ff59460b6085838db0152457 /tools/perf/util/c++/clang-test.cpp
parent14b292adcc780b2a319862f22a60054fe72e382f (diff)
mtd: onenand: samsung: Fix printing format for size_t on 64-bit
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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions