[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
fengguang.wu at intel.com
Tue Jan 24 08:15:37 PST 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 39977 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20170125/4271ab4b/attachment-0001.gz>
More information about the ath10k
mailing list