summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Oakley <daniel.oakley@ideasonboard.com>2022-06-16 11:07:47 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-07-15 14:43:55 +0100
commitee8dadd7704810f4319d0b469c59e6812ef0115f (patch)
tree3fcfad3a39c2c6739c2bba441f2290e6799b682d /tools/perf/scripts/python/export-to-postgresql.py
parentf2e761fdace257dd0411958efedb0e7af043c4f8 (diff)
downloadlinux-ee8dadd7704810f4319d0b469c59e6812ef0115f.tar.gz
linux-ee8dadd7704810f4319d0b469c59e6812ef0115f.zip
media: vimc: use data link entities enum to index the ent_config array
Future additions to the ent_config[] could break the association between the index of the struct vimc_ent_config entries in the ent_config[] array, and the index defined by the enum proposed in the previous patch. Using designated initializers solves this by linking the 2 together clearly in code and prevents the array not reflecting the enum. There is no functional change intended. Suggested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Daniel Oakley <daniel.oakley@ideasonboard.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions