Hi Stefan,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v5.15-rc1 next-20210915]
[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/Stefan-Wahren/add-Vertexcom-MSE1...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/09f1b772a438e7953db653d74e869c698...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Stefan-Wahren/add-Vertexcom-MSE102x-support/20210914-232404
git checkout 09f1b772a438e7953db653d74e869c6981dd8d45
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/net/ethernet/vertexcom/mse102x.c:119:6: error: no
previous prototype for 'mse102x_init_device_debugfs' [-Werror=missing-prototypes]
119 | void mse102x_init_device_debugfs(struct mse102x_net_spi *mses)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/vertexcom/mse102x.c:128:6: error: no
previous prototype for 'mse102x_remove_device_debugfs'
[-Werror=missing-prototypes]
128 | void mse102x_remove_device_debugfs(struct
mse102x_net_spi *mses)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/mse102x_init_device_debugfs +119 drivers/net/ethernet/vertexcom/mse102x.c
118
119 void mse102x_init_device_debugfs(struct mse102x_net_spi *mses)
120 {
121 mses->device_root =
debugfs_create_dir(dev_name(&mses->mse102x.ndev->dev),
122 NULL);
123
124 debugfs_create_file("info", S_IFREG | 0444, mses->device_root, mses,
125 &mse102x_info_fops);
126 }
127
128 void mse102x_remove_device_debugfs(struct mse102x_net_spi *mses)
129 {
130 debugfs_remove_recursive(mses->device_root);
131 }
132
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org