microblaze: Use unsigned type for "for" loop because of comparison-kgdb.c
authorMichal Simek <michal.simek@xilinx.com>
Thu, 18 Dec 2014 14:56:17 +0000 (15:56 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 5 Jan 2015 11:36:45 +0000 (12:36 +0100)
commite76fdb324844cc0367f8c6ea5d13278a81568ccb
tree9c9491258872824f13fe25b3476c1710748bd0aa
parentb6db0a56218c38455e52780338ad61e284a67e4c
microblaze: Use unsigned type for "for" loop because of comparison-kgdb.c

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 <michal.simek@xilinx.com>
arch/microblaze/kernel/kgdb.c