summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91111.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2015-01-01 21:04:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-05 13:05:27 +0100
commite515682daf520a6c8a09c34bd911fdbe0ff5b088 (patch)
treef12d8ec490c305b3c70773f8e655fe451665d61a /drivers/net/smc91111.c
parent461710b119c70ed0c8b54e2144a1c945498482d4 (diff)
downloadbarebox-e515682daf520a6c8a09c34bd911fdbe0ff5b088.tar.gz
barebox-e515682daf520a6c8a09c34bd911fdbe0ff5b088.tar.xz
commands: loady: fix bug with netconsole
Netconsole doesn't have a baudrate. Loady supposes a console has one, and tries to compute the console's baudrate variable value, regardless of its existence. This triggers a NULL pointer dereference on netconsole. If attempting loady on a netconsole is a bit useless, barebox should not panic. Fix this by checking the variable exists before reading its value. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/smc91111.c')
0 files changed, 0 insertions, 0 deletions