Re: [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'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux