aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-08-29 17:29:32 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2024-10-15 17:29:51 +0200
commit0741f55593547d7f25ec003b355a21d6d5fef01e (patch)
tree1e1b0834c5375bacd528a014248dd3d96b247f37 /tools/perf/scripts/python/export-to-postgresql.py
parentnetfilter: Make legacy configs user selectable (diff)
downloadwireguard-linux-0741f55593547d7f25ec003b355a21d6d5fef01e.tar.xz
wireguard-linux-0741f55593547d7f25ec003b355a21d6d5fef01e.zip
netfilter: nf_tables: Fix percpu address space issues in nf_tables_api.c
Compiling nf_tables_api.c results in several sparse warnings: nf_tables_api.c:2077:31: warning: incorrect type in return expression (different address spaces) nf_tables_api.c:2080:31: warning: incorrect type in return expression (different address spaces) nf_tables_api.c:2084:31: warning: incorrect type in return expression (different address spaces) nf_tables_api.c:2740:23: warning: incorrect type in assignment (different address spaces) nf_tables_api.c:2752:38: warning: incorrect type in assignment (different address spaces) nf_tables_api.c:2798:21: warning: incorrect type in argument 1 (different address spaces) Use {ERR_PTR,IS_ERR,PTR_ERR}_PCPU() macros when crossing between generic and percpu address spaces and add __percpu annotation to *stats pointer to fix these warnings. Found by GCC's named address space checks. There were no changes in the resulting object files. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions