1
linux/arch/arm/mach-davinci
Arnd Bergmann de9234306b ARM: davinci: remove broken ntosd2_init_i2c
ntosd2_init_i2c walks the ntosd2_i2c_info array, which it expects to
be populated with at least one member. gcc correctly warns about
the out-of-bounds access here.

Since this can not possibly work, it's better to disable i2c
support entirely on this board.

Without this patch, building davinci_all_defconfig results in:

arch/arm/mach-davinci/board-neuros-osd2.c: In function 'davinci_ntosd2_init':
arch/arm/mach-davinci/board-neuros-osd2.c:187:20: warning: array subscript is above array bounds [-Warray-bounds]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Andrey Porodko <panda@chelcom.ru>
2012-08-10 13:14:36 +02:00
..
include/mach arm-soc: device tree description updates 2012-07-23 16:17:43 -07:00
aemif.c
board-da830-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-da850-evm.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-dm355-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm355-leopard.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm365-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm644x-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm646x-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-mityomapl138.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-neuros-osd2.c ARM: davinci: remove broken ntosd2_init_i2c 2012-08-10 13:14:36 +02:00
board-omapl138-hawk.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-sffsdr.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-tnetv107x-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cdce949.c
clock.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
clock.h
common.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cp_intc.c ARM: davinci: cp_intc: Add OF support for TI interrupt controller 2012-07-05 14:12:35 +05:30
cpufreq.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cpuidle.c ARM: davinci: Fix for cpuidle consolidation changes 2012-03-22 01:19:44 -04:00
da830.c
da850.c ARM: davinci: DA850: move da850_register_pm to .init.text 2012-03-13 02:11:33 +05:30
davinci.h ARM: davinci: mark spi_board_info arguments as const 2012-04-19 01:50:30 +05:30
devices-da8xx.c arm: da850: configure LCDC fifo threshold 2012-07-29 01:11:09 +00:00
devices-tnetv107x.c
devices.c ARM: davinci: streamline sysmod access 2012-02-25 02:40:17 +05:30
dm355.c ARM: davinci: mark spi_board_info arguments as const 2012-04-19 01:50:30 +05:30
dm365.c ARM: davinci: mark spi_board_info arguments as const 2012-04-19 01:50:30 +05:30
dm644x.c ARM: davinci: dm644x: add support for v4l2 video display 2012-03-11 12:41:29 +05:30
dm646x.c ARM: davinci: streamline sysmod access 2012-02-25 02:40:17 +05:30
dma.c arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
irq.c
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-07-24 13:34:56 -07:00
Makefile ARM: davinci: add runtime PM support for clock management 2012-07-01 17:26:26 +05:30
Makefile.boot
mux.c
mux.h
pm_domain.c ARM: davinci: add runtime PM support for clock management 2012-07-01 17:26:26 +05:30
pm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
psc.c
serial.c
sleep.S
sram.c
time.c ARM: davinci: convert to common sched_clock() implementation 2012-02-03 11:34:25 +00:00
tnetv107x.c
usb.c