diff options
| author | Peter Zijlstra <[email protected]> | 2013-09-20 11:08:50 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-09-20 11:15:27 +0000 |
| commit | 92519bbc8af612975410def52bd462ca9af85cdb (patch) | |
| tree | 9ccc970e62843e9006169e64b509c6e7ac4c5a99 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf/x86/intel: Remove division from the intel_pmu_drain_pebs_nhm() hot path (diff) | |
| download | kernel-92519bbc8af612975410def52bd462ca9af85cdb.tar.gz kernel-92519bbc8af612975410def52bd462ca9af85cdb.zip | |
perf/x86/intel: Fix build warning in intel_pmu_drain_pebs_nhm()
Fengguang Wu reported this build warning:
arch/x86/kernel/cpu/perf_event_intel_ds.c: In function 'intel_pmu_drain_pebs_nhm':
arch/x86/kernel/cpu/perf_event_intel_ds.c:964:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int'
Because pointer arithmetics result type is bitness dependent there's no natural
type to use here, cast it to long.
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
