aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-06-17 17:10:39 -0500
committerMoritz Fischer <mdf@kernel.org>2020-06-18 18:22:12 -0700
commite1d9ec3af3463c1721723f68403ee14214d0d2f6 (patch)
tree1b628e10210769aa1b3490babdd5cd281c22afec /tools/perf/scripts/python/export-to-postgresql.py
parentfpga manager: xilinx-spi: remove unneeded, mistyped variables (diff)
downloadwireguard-linux-e1d9ec3af3463c1721723f68403ee14214d0d2f6.tar.xz
wireguard-linux-e1d9ec3af3463c1721723f68403ee14214d0d2f6.zip
fpga: dfl: Use struct_size() in kzalloc()
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes. Also, remove unnecessary function dfl_feature_platform_data_size(). This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions