diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-10-07 22:36:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-08 09:08:36 (GMT) |
commit | 7ec661f585785ffe20f8dd2849fbde7bf77b24bb (patch) | |
tree | 92d0830b3d609f7fd3755956de49c830d6aa1cf4 /net/socket.c | |
parent | a69bec9bd3a4342067d68cb4a63fa64c025c8507 (diff) | |
download | linux-7ec661f585785ffe20f8dd2849fbde7bf77b24bb.tar.xz |
brcmfmac: check brcmf_bus_get_memdump result for error
[ Upstream commit f4737a62033d7f3e0db740c449fc62119da7ab8a ]
This method may be unsupported (see: USB bus) or may just fail (see:
SDIO bus).
While at it rework logic in brcmf_sdio_bus_get_memdump function to avoid
too many conditional code nesting levels.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions