diff options
| author | Borislav Petkov <[email protected]> | 2020-11-26 19:11:50 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-25 10:34:50 +0100 |
| commit | bfe21ef195a9f2785747e698dfd19f75554e2d91 (patch) | |
| tree | 078b7b103dc081c7755f44406f72021ed048bf0a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 8598bb4c876dbd8ded9f08c91e4c2ae62c9557d9 (diff) | |
staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet
Fix this build warning on 32-bit:
drivers/staging/media/atomisp/pci/hmm/hmm.c: In function ‘hmm_alloc’:
drivers/staging/media/atomisp/pci/hmm/hmm.c:272:3: warning: format ‘%ld’ \
expects argument of type ‘long int’, but argument 6 has type ‘size_t {aka unsigned int}’ [-Wformat=]
"%s: pages: 0x%08x (%ld bytes), type: %d from highmem %d, user ptr %p, cached %d\n",
^
Fixes: 03884c93560c ("media: atomisp: add debug for hmm alloc")
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Sakari Ailus <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions