All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath6kl:pending 49/54] drivers/net/wireless/ath/ath10k/htt_tx.c:733:2: warning: large integer implicitly truncated to unsigned type
@ 2017-01-24 16:15 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-01-24 16:15 UTC (permalink / raw)
  To: Erik Stromdahl; +Cc: Kalle Valo, kbuild-all, ath10k

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   430d36c841c58d7550c3f11684a80237efd4a02d
commit: 844eabd958a79e7ad0c539fdaa40875bac46d191 [49/54] ath10k: htt: RX ring config HL support
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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
        git checkout 844eabd958a79e7ad0c539fdaa40875bac46d191
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/htt_tx.c: In function 'ath10k_htt_send_rx_ring_cfg_hl':
>> drivers/net/wireless/ath/ath10k/htt_tx.c:733:2: warning: large integer implicitly truncated to unsigned type
   drivers/net/wireless/ath/ath10k/htt_tx.c:734:2: warning: large integer implicitly truncated to unsigned type

vim +733 drivers/net/wireless/ath/ath10k/htt_tx.c

   717			return -ENOMEM;
   718	
   719		skb_put(skb, len);
   720	
   721		cmd = (struct htt_cmd *)skb->data;
   722		ring = &cmd->rx_setup.rings[0];
   723	
   724		cmd->hdr.msg_type = HTT_H2T_MSG_TYPE_RX_RING_CFG;
   725		cmd->rx_setup.hdr.num_rings = 1;
   726	
   727		flags = 0;
   728		flags |= HTT_RX_RING_FLAGS_MSDU_PAYLOAD;
   729		flags |= HTT_RX_RING_FLAGS_UNICAST_RX;
   730		flags |= HTT_RX_RING_FLAGS_MULTICAST_RX;
   731	
   732		memset(ring, 0, sizeof(*ring));
 > 733		ring->rx_ring_len = __cpu_to_le32(HTT_RX_RING_SIZE_MIN);
   734		ring->rx_ring_bufsize = __cpu_to_le32(HTT_RX_BUF_SIZE);
   735		ring->flags = __cpu_to_le16(flags);
   736	
   737		ret = ath10k_htc_send(&htt->ar->htc, htt->eid, skb);
   738		if (ret) {
   739			dev_kfree_skb_any(skb);
   740			return ret;
   741		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39977 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-24 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-24 16:15 [ath6kl:pending 49/54] drivers/net/wireless/ath/ath10k/htt_tx.c:733:2: warning: large integer implicitly truncated to unsigned type kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.