* [PATCH] wlcore: sdio: return correct error code
@ 2015-07-02 8:34 Raphael Poggi
2015-07-16 9:03 ` Raphaël Poggi
2015-07-21 13:56 ` Kalle Valo
0 siblings, 2 replies; 3+ messages in thread
From: Raphael Poggi @ 2015-07-02 8:34 UTC (permalink / raw)
To: kvalo, luca; +Cc: linux-wireless, linux-kernel, Raphael Poggi
When wlcore_probe_of failed, return the correct error code instead of ENOMEM
Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
---
drivers/net/wireless/ti/wlcore/sdio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c
index ea7e07a..c172da5 100644
--- a/drivers/net/wireless/ti/wlcore/sdio.c
+++ b/drivers/net/wireless/ti/wlcore/sdio.c
@@ -293,7 +293,8 @@ static int wl1271_probe(struct sdio_func *func,
/* Use block mode for transferring over one block size of data */
func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE;
- if (wlcore_probe_of(&func->dev, &irq, &pdev_data))
+ ret = wlcore_probe_of(&func->dev, &irq, &pdev_data);
+ if (ret)
goto out_free_glue;
/* if sdio can keep power while host is suspended, enable wow */
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] wlcore: sdio: return correct error code
2015-07-02 8:34 [PATCH] wlcore: sdio: return correct error code Raphael Poggi
@ 2015-07-16 9:03 ` Raphaël Poggi
2015-07-21 13:56 ` Kalle Valo
1 sibling, 0 replies; 3+ messages in thread
From: Raphaël Poggi @ 2015-07-16 9:03 UTC (permalink / raw)
To: kvalo, luca; +Cc: linux-wireless, linux-kernel, Raphael Poggi
Ping ?
2015-07-02 10:34 GMT+02:00 Raphael Poggi <poggi.raph@gmail.com>:
> When wlcore_probe_of failed, return the correct error code instead of ENOMEM
>
> Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
> ---
> drivers/net/wireless/ti/wlcore/sdio.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c
> index ea7e07a..c172da5 100644
> --- a/drivers/net/wireless/ti/wlcore/sdio.c
> +++ b/drivers/net/wireless/ti/wlcore/sdio.c
> @@ -293,7 +293,8 @@ static int wl1271_probe(struct sdio_func *func,
> /* Use block mode for transferring over one block size of data */
> func->card->quirks |= MMC_QUIRK_BLKSZ_FOR_BYTE_MODE;
>
> - if (wlcore_probe_of(&func->dev, &irq, &pdev_data))
> + ret = wlcore_probe_of(&func->dev, &irq, &pdev_data);
> + if (ret)
> goto out_free_glue;
>
> /* if sdio can keep power while host is suspended, enable wow */
> --
> 2.1.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: wlcore: sdio: return correct error code
2015-07-02 8:34 [PATCH] wlcore: sdio: return correct error code Raphael Poggi
2015-07-16 9:03 ` Raphaël Poggi
@ 2015-07-21 13:56 ` Kalle Valo
1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2015-07-21 13:56 UTC (permalink / raw)
To: Raphaël Poggi; +Cc: luca, linux-wireless, linux-kernel, Raphael Poggi
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 197 bytes --]
> When wlcore_probe_of failed, return the correct error code instead of ENOMEM
>
> Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
Thanks, applied to wireless-drivers-next.git.
Kalle Valo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-21 13:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 8:34 [PATCH] wlcore: sdio: return correct error code Raphael Poggi
2015-07-16 9:03 ` Raphaël Poggi
2015-07-21 13:56 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).