[driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'

Dejin Zheng zhengdejin5 at gmail.com
Wed Sep 9 02:53:25 UTC 2020


On Tue, Sep 08, 2020 at 01:37:54PM +0200, Greg Kroah-Hartman wrote:
> On Tue, Sep 08, 2020 at 04:21:36AM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing
> > head:   fa802fde315b87157f6d7c5dfe5d926bdb97d6e4
> > commit: 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8 [29/33] drivers: provide devm_platform_request_irq()
> > config: h8300-randconfig-r014-20200907 (attached as .config)
> > compiler: h8300-linux-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
> >         git checkout 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
> >         # save the attached .config to linux build tree
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300 
> 
> I'm going to drop this patch, and the follow-up patch for this, from my
> trees.  Maybe the prototype for this function should go in a different
> .h file to resolve these types of build issues?
>
I'm so sorry for that, Greg, you are right, This problem will be caused
due to the loop containing the header file <linux/interrupt.h>, so I will
send a new patch and put this function to a different header file. 

Sorry!

BR,
Dejin

> thanks,
> 
> greg k-h


More information about the devel mailing list