summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Sloan <david.sloan@eideticom.com>2022-04-21 22:45:58 +0300
committerSong Liu <song@kernel.org>2022-04-26 00:22:31 +0300
commit9151ad5d8676a89cf1b6a4051037ab3ca077d938 (patch)
tree26ead87f78795b59dd749bc57ee38d458b483bb6 /tools/perf/scripts/python/export-to-postgresql.py
parentea23994edc4169bd90d7a9b5908c6ccefd82fa40 (diff)
downloadlinux-9151ad5d8676a89cf1b6a4051037ab3ca077d938.tar.xz
md: Replace role magic numbers with defined constants
There are several instances where magic numbers are used in md.c instead of the defined constants in md_p.h. This patch set improves code readability by replacing all occurrences of 0xffff, 0xfffe, and 0xfffd when relating to md roles with their equivalent defined constant. Signed-off-by: David Sloan <david.sloan@eideticom.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions