[driver-core:fi_cleanup 1/1] drivers/infiniband//hw/hfi1/fault.c:277:2: error: implicit declaration of function 'DEBUGFS_SEQ_FILE_CREATE'; did you mean 'DEBUGFS_SEQ_FILE_OPEN'?

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Mar 11 22:42:37 UTC 2019


On Tue, Mar 12, 2019 at 06:32:54AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git fi_cleanup
> head:   e5f4139a329f9c5b0ddaa1e636721d546b179928
> commit: e5f4139a329f9c5b0ddaa1e636721d546b179928 [1/1] fault_inject: clean up fault_create_debugfs_attr
> config: x86_64-allmodconfig (attached as .config)
> compiler: gcc-8 (Debian 8.3.0-2) 8.3.0
> reproduce:
>         git checkout e5f4139a329f9c5b0ddaa1e636721d546b179928
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/infiniband//hw/hfi1/fault.c: In function 'hfi1_fault_init_debugfs':
> >> drivers/infiniband//hw/hfi1/fault.c:277:2: error: implicit declaration of function 'DEBUGFS_SEQ_FILE_CREATE'; did you mean 'DEBUGFS_SEQ_FILE_OPEN'? [-Werror=implicit-function-declaration]
>      DEBUGFS_SEQ_FILE_CREATE(fault_stats, fault_dir, ibd);
>      ^~~~~~~~~~~~~~~~~~~~~~~
>      DEBUGFS_SEQ_FILE_OPEN
> >> drivers/infiniband//hw/hfi1/fault.c:277:26: error: 'fault_stats' undeclared (first use in this function); did you mean 'fault_attr'?
>      DEBUGFS_SEQ_FILE_CREATE(fault_stats, fault_dir, ibd);
>                              ^~~~~~~~~~~
>                              fault_attr
>    drivers/infiniband//hw/hfi1/fault.c:277:26: note: each undeclared identifier is reported only once for each function it appears in
>    cc1: some warnings being treated as errors

Ugh, bad rebase on my part, I'll fix this up, please ignore...

greg k-h


More information about the devel mailing list