From: kbuild test robot <fengguang.wu@intel.com>
To: Salil Mehta <salil.mehta@huawei.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org, lipeng <lipeng321@huawei.com>
Subject: [net-next:master 355/378] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:236:16: sparse: restricted __le16 degrades to integer
Date: Sat, 16 Dec 2017 02:50:06 +0800 [thread overview]
Message-ID: <201712160242.DgoPHAeQ%fengguang.wu@intel.com> (raw)
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
reply other threads:[~2017-12-15 18:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201712160242.DgoPHAeQ%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=lipeng321@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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