summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKlara Modin <klarasmodin@gmail.com>2026-09-09 19:31:03 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-09-10 12:12:09 -0400
commit9f725dd80ae781ac046420e0e53ffe5b3bcfa44b (patch)
tree2473805369d3a774ae31bd9a24fe9b84ac9f8145 /tools/perf/scripts/python/task-analyzer.py
parent3a804a5b15c22e4d7a3906ff09035e539785813e (diff)
downloadlinux-9f725dd80ae781ac046420e0e53ffe5b3bcfa44b.tar.gz
linux-9f725dd80ae781ac046420e0e53ffe5b3bcfa44b.zip
rust/drm/gem: initialize callbacks with ..pin_init::zeroed()
When the commit b67d2d039f64 ("drm/gem: Add callback for when handle count goes to 0") added the handle_free callback, it did not update the rust abstraction, which will cause a build failure when that is enabled. Rather than just adding another None initializer, use ..pin_init::zeroed() to make all unlisted callbacks None, and remove the existing zero-initializations. Fixes: b67d2d039f64 ("drm/gem: Add callback for when handle count goes to 0") Reported-by: Thorsten Leemhuis <linux@leemhuis.info> Closes: https://lore.kernel.org/all/aaef18cd-ab55-4fb8-8563-ca3a5ea9cbc6@leemhuis.info Reported-by: Thomas Zimmermann <tzimmermann@suse.de> Closes: https://lore.kernel.org/all/4da62a4b-c4ef-492a-9a27-b56bd4784acf@suse.de Suggested-by: Gary Guo <gary@garyguo.net> Signed-off-by: Klara Modin <klarasmodin@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions