[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <30b5c8aa25144295b86244424860d80e@euamsexm01a.eu.qualcomm.com>
Date: Wed, 28 Sep 2016 12:01:41 +0200
From: Kalle Valo <kvalo@....qualcomm.com>
To: Chaehyun Lim <chaehyun.lim@...il.com>
CC: <linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
Chaehyun Lim <chaehyun.lim@...il.com>
Subject: Re: ath6kl: fix return value in ath6kl_wmi_set_pvb_cmd
Chaehyun Lim <chaehyun.lim@...il.com> wrote:
> When building with W=1, we got one warning as belows:
> drivers/net/wireless/ath/ath6kl/wmi.c:3509:6: warning: variable ‘ret’
> set but not used [-Wunused-but-set-variable]
>
> At the end of ath6kl_wmi_set_pvb_cmd, it is returned by 0 regardless of
> return value of ath6kl_wmi_cmd_send.
> This patch fixes return value from 0 to ret that has result of
> ath6kl_wmi_cmd_send execution.
>
> Signed-off-by: Chaehyun Lim <chaehyun.lim@...il.com>
Patch applied to ath-next branch of ath.git, thanks.
b93015057e31 ath6kl: fix return value in ath6kl_wmi_set_pvb_cmd
--
https://patchwork.kernel.org/patch/9337611/
Documentation about submitting wireless patches and checking status
from patchwork:
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists