aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2019-07-10 15:57:41 +0000
committerJens Axboe <[email protected]>2019-07-10 20:18:01 +0000
commit9305d5d721f2bd5e2eeb670035159b560ca211ca (patch)
tree3a407ca84377590759f0f17392f6a1fb12abe9de /tools/perf/scripts/python/export-to-sqlite.py
parentblock: Remove unused definitions (diff)
downloadkernel-9305d5d721f2bd5e2eeb670035159b560ca211ca.tar.gz
kernel-9305d5d721f2bd5e2eeb670035159b560ca211ca.zip
block: Fix elevator name declaration
The elevator_name field in struct elevator_type is declared as an array of characters (ELV_NAME_MAX size) but in practice used as a string pointer with its initialization done statically within each elevator elevator_type structure declaration. Change the declaration of elevator_name to the more appropriate "const char *" type. Acked-by: Marcos Paulo de Souza <[email protected]> Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions