Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / drivers / gpu / drm / drm_dp_mst_topology.c
index 571da0c..f3d79ed 100644 (file)
@@ -1668,13 +1668,10 @@ __dump_topology_ref_history(struct drm_dp_mst_topology_ref_history *history,
        for (i = 0; i < history->len; i++) {
                const struct drm_dp_mst_topology_ref_entry *entry =
                        &history->entries[i];
-               ulong *entries;
-               uint nr_entries;
                u64 ts_nsec = entry->ts_nsec;
                u32 rem_nsec = do_div(ts_nsec, 1000000000);
 
-               nr_entries = stack_depot_fetch(entry->backtrace, &entries);
-               stack_trace_snprint(buf, PAGE_SIZE, entries, nr_entries, 4);
+               stack_depot_snprint(entry->backtrace, buf, PAGE_SIZE, 4);
 
                drm_printf(&p, "  %d %ss (last at %5llu.%06u):\n%s",
                           entry->count,