aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorVincent Chen <[email protected]>2020-06-23 05:37:35 +0000
committerPalmer Dabbelt <[email protected]>2020-07-10 03:12:28 +0000
commit70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe (patch)
tree459ae8550b02dbc4ec558ff479863ee5829fa5d1 /scripts/gcc-plugins/sancov_plugin.c
parentkgdb: Move the extern declaration kgdb_has_hit_break() to generic kgdb.h (diff)
downloadkernel-70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe.tar.gz
kernel-70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe.zip
riscv: Avoid kgdb.h including gdb_xml.h to solve unused-const-variable warning
The constant arrays in gdb_xml.h are only used in arch/riscv/kernel/kgdb.c, but other c files may include the gdb_xml.h indirectly via including the kgdb.h. Hence, It will cause many unused-const-variable warnings. This patch makes the kgdb.h not to include the gdb_xml.h to solve this problem. Signed-off-by: Vincent Chen <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions