[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181008.110230.1232459474222849074.davem@davemloft.net>
Date: Mon, 08 Oct 2018 11:02:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: kvalo@...eaurora.org, nbd@....name, lorenzo.bianconi@...hat.com,
sgruszka@...hat.com, linux-wireless@...r.kernel.org,
kernel-janitors@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] mt76x0: pci: fix set external PA I/O current
From: YueHaibing <yuehaibing@...wei.com>
Date: Mon, 8 Oct 2018 13:21:49 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/wireless/mediatek/mt76/mt76x0/pci.c: In function 'mt76x0e_register_device':
> drivers/net/wireless/mediatek/mt76/mt76x0/pci.c:107:8: warning:
> variable 'data' set but not used [-Wunused-but-set-variable]
>
> It seems correct value to write is 'data'
>
> Fixes: 2b2cb40bcd7d ("mt76x0: pci: add hw initialization at bootstrap")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Wireless changes should be marked as appropriate in the Subject line
for targetting the wireless GIT tree, not "net-next".
Powered by blists - more mailing lists