[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87fvx2nhyt.fsf@kamboji.qca.qualcomm.com>
Date: Sat, 1 Jun 2013 15:17:14 +0300
From: Kalle Valo <kvalo@....qualcomm.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
CC: "John W. Linville" <linville@...driver.com>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <ath6kl-devel@....qualcomm.com>
Subject: Re: [PATCH] ath6kl: Unify sg_sz and buf_sz in ath6kl_sdio_alloc_prep_scat_req()
Geert Uytterhoeven <geert@...ux-m68k.org> writes:
> sg_sz and buf_sz are initialized and used in a mutual exclusive way.
> However, some versions of gcc are not smart enough to see this:
>
> drivers/net/wireless/ath/ath6kl/sdio.c: In function ‘ath6kl_sdio_alloc_prep_scat_req’:
> drivers/net/wireless/ath/ath6kl/sdio.c:338: warning: ‘sg_sz’ may be used uninitialized in this function
>
> Unify the sg_sz and buf_sz variables into a single size variable to kill
> the compiler warning.
>
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Thanks, applied. Sorry for taking so long.
--
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists