08 Jun, 2015
1 commit
-
Warnings found by sparse:
arch/microblaze/kernel/dma.c:157:5: warning: symbol
'dma_direct_mmap_coherent' was not declared. Should it be static?
arch/microblaze/kernel/kgdb.c:35:14: warning: symbol 'pvr' was not
declared. Should it be static?Signed-off-by: Michal Simek
05 Jan, 2015
2 commits
-
This patch removes warnings reported by W=1:
arch/microblaze/kernel/kgdb.c: In function 'pt_regs_to_gdb_regs':
arch/microblaze/kernel/kgdb.c:43:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
arch/microblaze/kernel/kgdb.c:51:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
arch/microblaze/kernel/kgdb.c: In function 'gdb_regs_to_pt_regs':
arch/microblaze/kernel/kgdb.c:77:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
arch/microblaze/kernel/kgdb.c: In function
'sleeping_thread_to_gdb_regs':
arch/microblaze/kernel/kgdb.c:99:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
arch/microblaze/kernel/kgdb.c:103:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]Signed-off-by: Michal Simek
-
This patch removes the warning:
arch/microblaze/kernel/kgdb.c:81:6: warning: no previous prototype for
'microblaze_kgdb_break' [-Wmissing-prototypes]Signed-off-by: Michal Simek
26 Jun, 2013
1 commit
-
Other architectures don't do it, and it conflicts with the extern'd definition
in include/linux/kgdb.h.The patch fails checkpatch but it reflects current
functions declaration and solved compilation error.Signed-off-by: Graeme Smecher
CC: Michal Simek
CC: linux-kernel@vger.kernel.org
Signed-off-by: Michal Simek
12 Feb, 2013
1 commit
-
Fix coding style issues reported by checkpatch.pl.
Signed-off-by: Michal Simek
21 Oct, 2010
2 commits
-
Just need to use little-endian opcode for brki r16, 0x18
Signed-off-by: Michal Simek
CC: Jason Wessel -
I forget to remove unused variable from kgdb_arch_handle_exception.
Fix return value in microblaze_kgdb_break function.Error log:
arch/microblaze/kernel/kgdb.c: In function 'microblaze_kgdb_break':
arch/microblaze/kernel/kgdb.c:83: warning: 'return' with a value, in function returning void
arch/microblaze/kernel/kgdb.c: In function 'kgdb_arch_handle_exception':
arch/microblaze/kernel/kgdb.c:119: warning: unused variable 'cpu'Signed-off-by: Michal Simek
04 Aug, 2010
1 commit
-
Kgdb uses brki r16, 0x18 instruction to call
low level _debug_exception function which save
current state to pt_regs and call microblaze_kgdb_break
function. _debug_exception should be called only from
the kernel space. User space calling is not supported
because user application debugging uses different handling.pt_regs_to_gdb_regs loads additional special registers
which can't be changed* Enable KGDB in Kconfig
* Remove ancient not-tested KGDB support
* Remove ancient _debug_exception code from entry.SOnly MMU KGDB support is supported.
Signed-off-by: Michal Simek
CC: Jason Wessel
CC: John Williams
CC: Edgar E. Iglesias
CC: linux-kernel@vger.kernel.org
Acked-by: Jason Wessel