[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606082228.qjgPdVib%fengguang.wu@intel.com>
Date: Wed, 8 Jun 2016 22:21:27 +0800
From: kbuild test robot <lkp@...el.com>
To: Prasun Maiti <prasunmaiti87@...il.com>
Cc: kbuild-all@...org, Linux Kernel <linux-kernel@...r.kernel.org>,
Kalle Valo <kvalo@....qualcomm.com>,
"ath6kl@...ts.infradead.org" <ath6kl@...ts.infradead.org>,
Linux Next <linux-next@...r.kernel.org>,
Linux Wireless <linux-wireless@...r.kernel.org>,
Linux Kernel <prasunmaii87@...il.com>
Subject: Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove
wireless core warns
Hi,
[auto build test WARNING on ath6kl/ath-next]
[also build test WARNING on v4.7-rc2 next-20160608]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Prasun-Maiti/Add-set_antenna-callback-in-ath6kl-driver-to-remove-wireless-core-warns/20160608-202420
base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k
All warnings (new ones prefixed by >>):
drivers/net/wireless/ath/ath6kl/wmi.c: In function 'ath6kl_wmi_set_antenna':
>> drivers/net/wireless/ath/ath6kl/wmi.c:1618:6: warning: assignment from incompatible pointer type
cmd = (struct wmi_set_antenna_cmd *) skb->data;
^
drivers/net/wireless/ath/ath6kl/wmi.c:1619:5: error: 'struct wmi_txe_notify_cmd' has no member named 'tx_ant'
cmd->tx_ant = cpu_to_le32(tx_ant);
^
drivers/net/wireless/ath/ath6kl/wmi.c:1620:5: error: 'struct wmi_txe_notify_cmd' has no member named 'rx_ant'
cmd->rx_ant = cpu_to_le32(rx_ant);
^
vim +1618 drivers/net/wireless/ath/ath6kl/wmi.c
1602 cfg80211_cqm_txe_notify(vif->ndev, vif->bssid, pkts,
1603 rate, vif->txe_intvl, GFP_KERNEL);
1604
1605 return 0;
1606 }
1607
1608 int ath6kl_wmi_set_antenna(struct wmi *wmi, u8 idx,
1609 u32 tx_ant, u32 rx_ant)
1610 {
1611 struct sk_buff *skb;
1612 struct wmi_txe_notify_cmd *cmd;
1613
1614 skb = ath6kl_wmi_get_new_buf(sizeof(*cmd));
1615 if (!skb)
1616 return -ENOMEM;
1617
> 1618 cmd = (struct wmi_set_antenna_cmd *) skb->data;
1619 cmd->tx_ant = cpu_to_le32(tx_ant);
1620 cmd->rx_ant = cpu_to_le32(rx_ant);
1621
1622 return ath6kl_wmi_cmd_send(wmi, idx, skb, WMI_SET_ANTENNA_CMDID,
1623 NO_SYNC_WMIFLAG);
1624 }
1625
1626 int ath6kl_wmi_set_txe_notify(struct wmi *wmi, u8 idx,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (36082 bytes)
Powered by blists - more mailing lists