diff options
author | Alex Elder <elder@linaro.org> | 2014-04-21 16:53:03 -0500 |
---|---|---|
committer | Matt Porter <mporter@linaro.org> | 2014-04-25 08:51:32 -0400 |
commit | 5c4cee2fe8de7c14e60502b02e7c3bc7acba0530 (patch) | |
tree | 5044f39984f5d40491ed46b58ac3adde978e5eb1 /include/rdma | |
parent | e80eef33f4596a247fdcf7d67d54d95d9dfaf7d3 (diff) | |
download | lwn-5c4cee2fe8de7c14e60502b02e7c3bc7acba0530.tar.gz lwn-5c4cee2fe8de7c14e60502b02e7c3bc7acba0530.zip |
ARM: bcm: err, don't BUG() on SMC init failures
Several conditions in bcm_kona_smc_init() are handled with BUG_ON().
That function is capable of returning an error, so do that instead.
Also, don't assume of_get_address() returns a valid pointer.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions