aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSimon Horman <horms@kernel.org>2023-05-25 16:26:25 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-06-09 17:44:22 -0700
commit4df3504e2f17cb35d2c12b07e716ae37971d0d52 (patch)
treedf8e8e141b57c383c9dccb46ae73404df3855038 /tools/perf/scripts/python/export-to-postgresql.py
parentinclude/linux/math.h: fix mult_frac() multiple argument evaluation bug (diff)
downloadwireguard-linux-4df3504e2f17cb35d2c12b07e716ae37971d0d52.tar.xz
wireguard-linux-4df3504e2f17cb35d2c12b07e716ae37971d0d52.zip
kexec: avoid calculating array size twice
Avoid calculating array size twice in kexec_purgatory_setup_sechdrs(). Once using array_size(), and once open-coded. Flagged by Coccinelle: .../kexec_file.c:881:8-25: WARNING: array_size is already used (line 877) to compute the same size No functional change intended. Compile tested only. Link: https://lkml.kernel.org/r/20230525-kexec-array_size-v1-1-8b4bf4f7500a@kernel.org Signed-off-by: Simon Horman <horms@kernel.org> Acked-by: Baoquan He <bhe@redhat.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions