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-...
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/6803a8cc977f24a0da7ebc14ef97f87b8...
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(a)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@lists.01.org