public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel•com>
To: Prasun Maiti <prasunmaiti87@gmail•com>
Cc: kbuild-all@01•org, Linux Kernel <linux-kernel@vger•kernel.org>,
	Kalle Valo <kvalo@qca•qualcomm.com>,
	"ath6kl@lists•infradead.org" <ath6kl@lists•infradead.org>,
	Linux Next <linux-next@vger•kernel.org>,
	Linux Wireless <linux-wireless@vger•kernel.org>,
	Linux Kernel <prasunmaii87@gmail•com>
Subject: Re: [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns
Date: Wed, 8 Jun 2016 22:21:27 +0800	[thread overview]
Message-ID: <201606082228.qjgPdVib%fengguang.wu@intel.com> (raw)
In-Reply-To: <1465388474-20503-1-git-send-email-prasunmaiti87@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2356 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 36082 bytes --]

  reply	other threads:[~2016-06-08 14:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 12:21 [PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns Prasun Maiti
2016-06-08 14:21 ` kbuild test robot [this message]
     [not found] ` <1465388474-20503-1-git-send-email-prasunmaiti87-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-08 14:23   ` Valo, Kalle
2016-06-08 14:35     ` Prasun Maiti
     [not found]       ` <CAEO8o4=DnEfXQAnAOxugC9TngbhvgV9DXz0HOVHNLk0B2fAXQA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-06-08 14:46         ` Valo, Kalle
2016-06-08 15:20           ` Prasun Maiti
2016-06-08 15:30             ` Valo, Kalle
2016-06-08 15:46               ` Prasun Maiti
2016-06-08 15:51                 ` Ben Greear
2016-06-08 15:56                   ` Prasun Maiti
     [not found]                     ` <CAEO8o4=a54o0qvQ7ynQW=tJ95OY0_BiNYPP-5uj5jozDLQCp4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-06-08 16:10                       ` Ben Greear
2016-06-09  0:05             ` Julian Calaby
     [not found]               ` <CAGRGNgV4sL2TypkR+zsaDHN26KCF0kjtWPsi9y9D_JkGpvWrUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-06-09  5:04                 ` Prasun Maiti
2016-06-09  5:36               ` [PATCH] Add .set_antenna callback in ath6kl driver to fix " Prasun Maiti
2016-06-09  6:43                 ` Johannes Berg
2016-06-09  7:08                 ` Valo, Kalle
2016-06-08 15:09     ` Prasun Maiti
2016-06-11 20:33 ` [PATCH] Add .set_antenna callback in ath6kl driver to remove " kbuild test robot
2016-06-11 20:35 ` kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2016-06-08 10:51 Prasun Maiti
2016-06-08 12:19 ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201606082228.qjgPdVib%fengguang.wu@intel.com \
    --to=lkp@intel$(echo .)com \
    --cc=ath6kl@lists$(echo .)infradead.org \
    --cc=kbuild-all@01$(echo .)org \
    --cc=kvalo@qca$(echo .)qualcomm.com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-wireless@vger$(echo .)kernel.org \
    --cc=prasunmaii87@gmail$(echo .)com \
    --cc=prasunmaiti87@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox