9
0
Fork 0
barebox/drivers
Alexander Shiyan be78f86efc mci: Fix bug if probe parameter is omitted
barebox@Phytec phyCORE-i.MX27:/ mci0.probe=
unable to handle NULL pointer dereference at address 0x00000000
pc : [<a7f24700>]    lr : [<a7f193f4>]
sp : a7fff8e0  ip : 00000000  fp : 00000001
r10: 00000000  r9 : a6ffba8c  r8 : 00000000
r7 : a7fffad0  r6 : a6ffbb04  r5 : a6fdd5cc  r4 : a6fdd658
r3 : a7f18760  r2 : 00000000  r1 : 00000000  r0 : 00000000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
[<a7f24700>] (simple_strtoul+0xc/0xc0) from [<a7f193f4>] (mci_set_probe+0xc94/0xd64)
[<a7f193f4>] (mci_set_probe+0xc94/0xd64) from [<a7f252cc>] (dev_set_param+0x74/0x8c)
[<a7f252cc>] (dev_set_param+0x74/0x8c) from [<a7f0606c>] (setenv+0x60/0xd8)
[<a7f0606c>] (setenv+0x60/0xd8) from [<a7f00820>] (set_local_var.isra.3+0x5c/0x7c)
[<a7f00820>] (set_local_var.isra.3+0x5c/0x7c) from [<a7f01a6c>] (run_list_real+0x494/0x934)
[<a7f01a6c>] (run_list_real+0x494/0x934) from [<a7f01400>] (parse_stream_outer+0x198/0x270)
[<a7f01400>] (parse_stream_outer+0x198/0x270) from [<a7f0209c>] (run_shell+0x3c/0x7c)
[<a7f0209c>] (run_shell+0x3c/0x7c) from [<a7f05494>] (execute_command+0x38/0x78)
[<a7f05494>] (execute_command+0x38/0x78) from [<a7f01db8>] (run_list_real+0x7e0/0x934)
[<a7f01db8>] (run_list_real+0x7e0/0x934) from [<a7f019ec>] (run_list_real+0x414/0x934)
[<a7f39578>] (unwind_backtrace+0x0/0xa8) from [<a7f24ed4>] (panic+0x28/0x3c)
[<a7f24ed4>] (panic+0x28/0x3c) from [<a7f39a3c>] (do_exception+0x10/0x14)
[<a7f39a3c>] (do_exception+0x10/0x14) from [<a7f39ac8>] (do_data_abort+0x2c/0x38)
[<a7f39ac8>] (do_data_abort+0x2c/0x38) from [<a7f39788>] (data_abort+0x48/0x60)

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-04-09 09:07:17 +02:00
..
amba Merge branch 'for-next/vexpress' 2013-03-04 09:21:54 +01:00
ata ata: ahci: refactor init functions 2013-03-08 11:33:27 +01:00
base bus: Make struct device a pointer 2013-03-14 08:42:24 +01:00
clk Merge branch 'for-next/misc' 2013-04-04 14:20:32 +02:00
clocksource ARM: clps711x: Add clocksource driver 2013-03-11 22:17:42 +01:00
dma Cleanup Kconfig files 2012-12-08 12:22:12 +01:00
eeprom Introduce device_spi_driver() macro and use it for SPI drivers 2013-03-14 07:15:45 +01:00
gpio Merge branch 'for-next/malloc-all-initcalls' 2013-04-04 14:20:32 +02:00
i2c Use new device_platform_driver() macro for drivers 2013-02-13 09:23:28 +01:00
input Merge branch 'for-next/omap' 2013-04-04 14:20:33 +02:00
led led: test for led->set callback before calling it 2013-01-14 13:39:20 +01:00
mci mci: Fix bug if probe parameter is omitted 2013-04-09 09:07:17 +02:00
mfd Merge branch 'for-next/device-driver-macros' 2013-04-04 12:03:20 +02:00
misc Use new device_platform_driver() macro for drivers 2013-02-13 09:23:28 +01:00
mtd Merge branch 'for-next/relocate' 2013-04-04 14:20:42 +02:00
net net: fec: probe phy_mode from devicetree 2013-04-04 23:23:41 +02:00
of of/net: Add net related of helpers 2013-04-04 23:23:41 +02:00
pwm switch all platform_bus device/driver registering to platform_driver/device_register 2012-10-04 15:19:12 +02:00
serial Merge branch 'for-next/zynq' 2013-04-04 23:23:19 +02:00
spi Add more drivers to using device_platform_driver() 2013-03-14 07:15:44 +01:00
usb Merge branch 'for-next/misc' 2013-04-04 14:20:32 +02:00
video fb: calculate resource end 2013-04-02 09:07:31 +02:00
w1 w1: Fix compiler warning 2013-03-06 09:04:26 +01:00
watchdog Use new device_platform_driver() macro for drivers 2013-02-13 09:23:28 +01:00
Kconfig of: move oftree Kconfig to the top of the drivers menu 2013-03-06 11:41:28 +01:00
Makefile of: make OFDEVICE a user selectable option 2013-03-06 11:41:28 +01:00