]> git.sur5r.net Git - u-boot/commit
arm: zynq: Use unsigned type with comparison with ARRAY_SIZE
authorMichal Simek <michal.simek@xilinx.com>
Fri, 10 Nov 2017 12:28:07 +0000 (13:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Nov 2017 07:02:39 +0000 (08:02 +0100)
commit30829447a4efb8debdbf0b1da237254f84847eca
tree26f9be2f8e900fdc53e72e87f0d6e1f037c67dd8
parent460b05d96db50ec0578fb7bc3598e316df0ff3de
arm: zynq: Use unsigned type with comparison with ARRAY_SIZE

Sparse is return warning about this:
arch/arm/mach-zynq/slcr.c: In function 'zynq_slcr_get_mio_pin_status':
arch/arm/mach-zynq/slcr.c:185:16: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < ARRAY_SIZE(mio_periphs); i++) {
                ^

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/slcr.c