diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-04-02 11:24:20 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-02 11:38:42 +0200 |
commit | 86a2512124c1734c66bf240fac52a2af08aa1c6f (patch) | |
tree | 862cfaa98689c4a4cb5c0cbcaa09a34df1056d6e /tools/perf/scripts/python/check-perf-trace.py | |
parent | 6e66ea137ff5bd292ed734c53f569892068a7a70 (diff) |
drm/i915: fix command parser debug print format mismatches
Drop the cast from the pointer diff to fix:
drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format '%td' expects
argument of type 'ptrdiff_t', but argument 5 has type 'long unsigned int'
[-Wformat]
While at it, use %u for u32.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
[danvet: After conflict resolution only the "While at it, ..." part
was left standing ...]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions