aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-report
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-10-03 19:41:08 +0200
committerJani Nikula <jani.nikula@intel.com>2024-10-22 15:35:50 +0300
commit5367156172a5f30ce57f3f99d1a78dfcea0d2ab7 (patch)
tree077532feb41706a0a51fec9970c7e3d79582ba12 /tools/perf/scripts/python/bin/flamegraph-report
parentdrm/i915/gvt: use macros from drm_dp.h instead of duplication (diff)
downloadlinux-5367156172a5f30ce57f3f99d1a78dfcea0d2ab7.tar.gz
linux-5367156172a5f30ce57f3f99d1a78dfcea0d2ab7.zip
drm/i915/display: Remove kstrdup_const() and kfree_const() usage
kstrdup_const() and kfree_const() can be confusing in code built as a module. In such a case, it does not do what one could expect from the name of the functions. The code is not wrong by itself, but in such a case, it is equivalent to kstrdup() and kfree(). So, keep thinks simple and straightforward. This reverts commit 379b63e7e682 ("drm/i915/display: Save a few bytes of memory in intel_backlight_device_register()") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://patchwork.freedesktop.org/patch/msgid/f82be2ee3ac7d18dd9982b5368a88a5bf2aeb777.1727977199.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions