From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RFC net-next] net: hns3: debugfs add dump tm info of nodes, priority and qset
Date: Thu, 31 Dec 2020 19:44:48 +0800 [thread overview]
Message-ID: <202012311914.i0yRiwSe-lkp@intel.com> (raw)
In-Reply-To: <1609405396-39071-1-git-send-email-huangguangbin2@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 2959 bytes --]
Hi Guangbin,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on v5.10]
[cannot apply to net-next/master net/master linus/master sparc-next/master v5.11-rc1 next-20201223]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Guangbin-Huang/net-hns3-debugfs-add-dump-tm-info-of-nodes-priority-and-qset/20201231-170940
base: 2c85ebc57b3e1817b6ce1a6b703928e113a90442
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/6803a8cc977f24a0da7ebc14ef97f87b85fa56cc
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Guangbin-Huang/net-hns3-debugfs-add-dump-tm-info-of-nodes-priority-and-qset/20201231-170940
git checkout 6803a8cc977f24a0da7ebc14ef97f87b85fa56cc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c:1776:5: warning: no previous prototype for 'hclge_dbg_read_cmd_tm' [-Wmissing-prototypes]
1776 | int hclge_dbg_read_cmd_tm(struct hnae3_handle *handle, const char *cmd_buf,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/hclge_dbg_read_cmd_tm +1776 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
1775
> 1776 int hclge_dbg_read_cmd_tm(struct hnae3_handle *handle, const char *cmd_buf,
1777 char *buf, int len)
1778 {
1779 #define DUMP_TM_NODE "dump nodes"
1780 #define DUMP_TM_PRI "dump priority"
1781 #define DUMP_TM_QSET "dump qset"
1782
1783 struct hclge_vport *vport = hclge_get_vport(handle);
1784 struct hclge_dev *hdev = vport->back;
1785
1786 if (strncmp(cmd_buf, DUMP_TM_NODE, strlen(DUMP_TM_NODE)) == 0)
1787 hclge_dbg_dump_tm_nodes(hdev, buf, len);
1788 else if (strncmp(cmd_buf, DUMP_TM_PRI, strlen(DUMP_TM_PRI)) == 0)
1789 hclge_dbg_dump_tm_pri(hdev, &cmd_buf[sizeof(DUMP_TM_PRI)],
1790 buf, len);
1791 else if (strncmp(cmd_buf, DUMP_TM_QSET, strlen(DUMP_TM_QSET)) == 0)
1792 hclge_dbg_dump_tm_qset(hdev, &cmd_buf[sizeof(DUMP_TM_QSET)],
1793 buf, len);
1794 else
1795 return -EINVAL;
1796
1797 return 0;
1798 }
1799
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66466 bytes --]
next prev parent reply other threads:[~2020-12-31 11:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-31 9:03 [PATCH RFC net-next] net: hns3: debugfs add dump tm info of nodes, priority and qset Guangbin Huang
2020-12-31 11:44 ` kernel test robot [this message]
2021-01-07 1:18 ` huangguangbin (A)
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=202012311914.i0yRiwSe-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 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.