Netdev List
 help / color / mirror / Atom feed
* [net-next:master 355/378] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:236:16: sparse: restricted __le16 degrades to integer
@ 2017-12-15 18:50 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-12-15 18:50 UTC (permalink / raw)
  To: Salil Mehta; +Cc: kbuild-all, netdev, lipeng

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   82f67bc6beb27120e8ccd1de8bd704edf3f79813
commit: dde1a86e93cadf9b17ec0a95a78c99505c48fd83 [355/378] net: hns3: Add mailbox support to PF driver
reproduce:
        # apt-get install sparse
        git checkout dde1a86e93cadf9b17ec0a95a78c99505c48fd83
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)


vim +236 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c

   226	
   227	void hclge_mbx_handler(struct hclge_dev *hdev)
   228	{
   229		struct hclge_cmq_ring *crq = &hdev->hw.cmq.crq;
   230		struct hclge_mbx_vf_to_pf_cmd *req;
   231		struct hclge_vport *vport;
   232		struct hclge_desc *desc;
   233		int ret;
   234	
   235		/* handle all the mailbox requests in the queue */
 > 236		while (hnae_get_bit(crq->desc[crq->next_to_use].flag,

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

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

only message in thread, other threads:[~2017-12-15 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-15 18:50 [net-next:master 355/378] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:236:16: sparse: restricted __le16 degrades to integer kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox