lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACqcpZBXwt4GEbQqARY6UGfGUewUd1KUHrA8BJoLcOHkGQg8MA@mail.gmail.com>
Date:	Thu, 16 Jul 2015 11:03:10 +0200
From:	Raphaël Poggi <poggi.raph@...il.com>
To:	kvalo@...eaurora.org, luca@...lho.fi
Cc:	linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
	Raphael Poggi <poggi.raph@...il.com>
Subject: Re: [PATCH] wlcore: sdio: return correct error code

Ping ?

2015-07-02 10:34 GMT+02:00 Raphael Poggi <poggi.raph@...il.com>:
> When wlcore_probe_of failed, return the correct error code instead of ENOMEM
>
> Signed-off-by: Raphaël Poggi <poggi.raph@...il.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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ