]> git.baikalelectronics.ru Git - uboot.git/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)
commit18bf848953500f9dad15f074ef1b7fed79735c8b
tree26f9be2f8e900fdc53e72e87f0d6e1f037c67dd8
parent73e08d2ea526e39c4186051fc809f9dc6c3ac826
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