diff options
| author | Colin Ian King <colin.king@canonical.com> | 2018-11-08 11:02:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-08 03:18:39 -0800 |
| commit | 9483804a725a865abf877c1e0242120d9a21f7bb (patch) | |
| tree | b1546ceaebd92e8efa10cff125cfd473816d5d3c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 64ce301c971bb323ab63f59014498d7e975586ee (diff) | |
| download | linux-9483804a725a865abf877c1e0242120d9a21f7bb.tar.gz linux-9483804a725a865abf877c1e0242120d9a21f7bb.zip | |
media: staging: tegra-vde: print long unsigned using %lu format specifier
The frame.flags & FLAG_B_FRAME is promoted to a long unsigned because
of the use of the BIT() macro when defining FLAG_B_FRAME and causing a
build warning. Fix this by using the %lu format specifer.
Cleans up warning:
drivers/staging/media/tegra-vde/tegra-vde.c:267:5: warning: format
specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
Fixes: 42e764d05712 ("staging: tegravde: replace bit assignment with macro")
Cc: Ioannis Valasakis <code@wizofe.uk>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
