Re: [PATCH] habanalabs: fix up absolute include instructions

From: kernel test robot
Date: Tue Jul 28 2020 - 19:52:36 EST


Hi Greg,

I love your patch! Perhaps something to improve:

[auto build test WARNING on char-misc/char-misc-testing]
[cannot apply to linux/master linus/master v5.8-rc7 next-20200728]
[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/Greg-Kroah-Hartman/habanalabs-fix-up-absolute-include-instructions/20200729-012043
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 65a9bde6ed484880987a6d88de6e372eca52059f
config: x86_64-randconfig-m001-20200728 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
# 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@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/misc/habanalabs/goya/goya.c:5228:5: warning: no previous prototype for 'goya_ctx_init' [-Wmissing-prototypes]
5228 | int goya_ctx_init(struct hl_ctx *ctx)
| ^~~~~~~~~~~~~
--
>> drivers/misc/habanalabs/gaudi/gaudi.c:6275:5: warning: no previous prototype for 'gaudi_ctx_init' [-Wmissing-prototypes]
6275 | int gaudi_ctx_init(struct hl_ctx *ctx)
| ^~~~~~~~~~~~~~

vim +/goya_ctx_init +5228 drivers/misc/habanalabs/goya/goya.c

f8c8c7d5f1b0ea Oded Gabbay 2019-02-16 5227
a04b7cd97eef13 Ofir Bitton 2020-07-13 @5228 int goya_ctx_init(struct hl_ctx *ctx)
a04b7cd97eef13 Ofir Bitton 2020-07-13 5229 {
a04b7cd97eef13 Ofir Bitton 2020-07-13 5230 return 0;
a04b7cd97eef13 Ofir Bitton 2020-07-13 5231 }
a04b7cd97eef13 Ofir Bitton 2020-07-13 5232

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip