]> Git Repo - linux.git/commit - drivers/bcma/sprom.c
bcma: return error in bcma_sprom_get() when fallback fails
authorArend van Spriel <[email protected]>
Tue, 6 Mar 2012 14:50:47 +0000 (15:50 +0100)
committerJohn W. Linville <[email protected]>
Tue, 6 Mar 2012 20:16:18 +0000 (15:16 -0500)
commit4ac887cfdad909f16ee1886fe4fa19b452fc7fd3
treec1097f92d77ca108ff5a3e6cec0800287fefc80b
parent5c17ddc4a047c59638c7eb8537aa887a1ddb9b0b
bcma: return error in bcma_sprom_get() when fallback fails

When not SPROM is available a fallback mechanism is used. However,
when that fails the code currently continues. This patch assures
that the bcma_sprom_get() function aborts when that happens.

Cc: Rafal Milecki <[email protected]>
Cc: Hauke Mehrtens <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/bcma/sprom.c
This page took 0.050868 seconds and 4 git commands to generate.