Searched hist:"70 ee5731a40b1f07f151e52c3c4ed27d70d4f9fe" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/riscv/include/asm/ |
H A D | gdb_xml.h | diff 70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe Tue Jun 23 07:37:35 CEST 2020 Vincent Chen <vincent.chen@sifive.com> 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 <vincent.chen@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
|
H A D | kgdb.h | diff 70ee5731a40b1f07f151e52c3c4ed27d70d4f9fe Tue Jun 23 07:37:35 CEST 2020 Vincent Chen <vincent.chen@sifive.com> 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 <vincent.chen@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
|