summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAyush Tiwari <ayushtiw0110@gmail.com>2024-03-18 22:06:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-25 20:25:45 +0300
commit6594d9c2d1ddc54375d8742403bd1bd8edecb2d3 (patch)
tree1ef700d12af03fe395b550238e266840d26c2929 /tools/perf/scripts/python/export-to-postgresql.py
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-6594d9c2d1ddc54375d8742403bd1bd8edecb2d3.tar.xz
staging: greybus: Constify gb_audio_module_type
Constify static struct kobj_type gb_audio_module_type to prevent modification of data shared across many instances and to address the checkpatch warning that "gb_audio_module_type" should be const. The "gb_audio_module_type" struct is only used in one place: err = kobject_init_and_add(&m->kobj, &gb_audio_module_type, NULL, ... so checkpatch is correct that it can be made const. Signed-off-by: Ayush Tiwari <ayushtiw0110@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/ZfiQsZBrHfImIJfc@ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions