# Re: \[PATCH 1/1\] ssb: Fix error return code in ssb\_bus\_scan()

- From: Kalle Valo \<hidden\>
- Date: 2021-06-15 10:11:06 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/06/15767480
- Thread: https://ratatoskr.run/linux-wireless/2021/05/15767157/t.md

```text
Zhen Lei [ref] wrote:

> Fix to return -EINVAL from the error handling case instead of 0, as done
> elsewhere in this function.
> 
> Fixes: 61e115a56d1a ("[SSB]: add Sonics Silicon Backplane bus support")
> Reported-by: Hulk Robot <redacted>
> Signed-off-by: Zhen Lei <redacted>
> Acked-by: Michael Büsch <m@bues.ch>

Patch applied to wireless-drivers-next.git, thanks.

77a0989baa42 ssb: Fix error return code in ssb_bus_scan()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210515072949.7151-1-thunder.leizhen@huawei.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

```
