All of lore.kernel.org
 help / color / mirror / Atom feed
* [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
@ 2020-09-07 20:21 ` kernel test robot
  0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-09-07 20:21 UTC (permalink / raw)
  To: Dejin Zheng; +Cc: devel, Greg Kroah-Hartman, kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4178 bytes --]

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 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/irqchip.h:17,
                    from arch/h8300/include/asm/irq.h:5,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from ./arch/h8300/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/kernel_stat.h:9,
                    from arch/h8300/kernel/asm-offsets.c:14:
>> include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
      75 |   unsigned int num, unsigned int *irq, irq_handler_t handler,
         |                                        ^~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:117: arch/h8300/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1202: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
git fetch --no-tags driver-core driver-core-testing
git checkout 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
vim +/irq_handler_t +75 include/linux/platform_device.h

    53	
    54	extern struct resource *platform_get_resource(struct platform_device *,
    55						      unsigned int, unsigned int);
    56	extern struct device *
    57	platform_find_device_by_driver(struct device *start,
    58				       const struct device_driver *drv);
    59	extern void __iomem *
    60	devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
    61					unsigned int index, struct resource **res);
    62	extern void __iomem *
    63	devm_platform_ioremap_resource(struct platform_device *pdev,
    64				       unsigned int index);
    65	extern void __iomem *
    66	devm_platform_ioremap_resource_wc(struct platform_device *pdev,
    67					  unsigned int index);
    68	extern void __iomem *
    69	devm_platform_ioremap_resource_byname(struct platform_device *pdev,
    70					      const char *name);
    71	extern int platform_get_irq(struct platform_device *, unsigned int);
    72	extern int platform_get_irq_optional(struct platform_device *, unsigned int);
    73	extern int platform_irq_count(struct platform_device *);
    74	extern int devm_platform_request_irq(struct platform_device *pdev,
  > 75			unsigned int num, unsigned int *irq, irq_handler_t handler,
    76			unsigned long irqflags, const char *devname, void *dev_id);
    77	extern struct resource *platform_get_resource_byname(struct platform_device *,
    78							     unsigned int,
    79							     const char *);
    80	extern int platform_get_irq_byname(struct platform_device *, const char *);
    81	extern int platform_get_irq_byname_optional(struct platform_device *dev,
    82						    const char *name);
    83	extern int platform_add_devices(struct platform_device **, int);
    84	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24694 bytes --]

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
@ 2020-09-07 20:21 ` kernel test robot
  0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-09-07 20:21 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4258 bytes --]

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 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/irqchip.h:17,
                    from arch/h8300/include/asm/irq.h:5,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from ./arch/h8300/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/kernel_stat.h:9,
                    from arch/h8300/kernel/asm-offsets.c:14:
>> include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
      75 |   unsigned int num, unsigned int *irq, irq_handler_t handler,
         |                                        ^~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:117: arch/h8300/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1202: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
git fetch --no-tags driver-core driver-core-testing
git checkout 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
vim +/irq_handler_t +75 include/linux/platform_device.h

    53	
    54	extern struct resource *platform_get_resource(struct platform_device *,
    55						      unsigned int, unsigned int);
    56	extern struct device *
    57	platform_find_device_by_driver(struct device *start,
    58				       const struct device_driver *drv);
    59	extern void __iomem *
    60	devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
    61					unsigned int index, struct resource **res);
    62	extern void __iomem *
    63	devm_platform_ioremap_resource(struct platform_device *pdev,
    64				       unsigned int index);
    65	extern void __iomem *
    66	devm_platform_ioremap_resource_wc(struct platform_device *pdev,
    67					  unsigned int index);
    68	extern void __iomem *
    69	devm_platform_ioremap_resource_byname(struct platform_device *pdev,
    70					      const char *name);
    71	extern int platform_get_irq(struct platform_device *, unsigned int);
    72	extern int platform_get_irq_optional(struct platform_device *, unsigned int);
    73	extern int platform_irq_count(struct platform_device *);
    74	extern int devm_platform_request_irq(struct platform_device *pdev,
  > 75			unsigned int num, unsigned int *irq, irq_handler_t handler,
    76			unsigned long irqflags, const char *devname, void *dev_id);
    77	extern struct resource *platform_get_resource_byname(struct platform_device *,
    78							     unsigned int,
    79							     const char *);
    80	extern int platform_get_irq_byname(struct platform_device *, const char *);
    81	extern int platform_get_irq_byname_optional(struct platform_device *dev,
    82						    const char *name);
    83	extern int platform_add_devices(struct platform_device **, int);
    84	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24694 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
  2020-09-07 20:21 ` kernel test robot
@ 2020-09-08 11:37   ` Greg Kroah-Hartman
  -1 siblings, 0 replies; 7+ messages in thread
From: Greg Kroah-Hartman @ 2020-09-08 11:37 UTC (permalink / raw)
  To: kernel test robot; +Cc: devel, Dejin Zheng, kbuild-all

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?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
@ 2020-09-08 11:37   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 7+ messages in thread
From: Greg Kroah-Hartman @ 2020-09-08 11:37 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

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?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
  2020-09-08 11:37   ` Greg Kroah-Hartman
  (?)
@ 2020-09-09  2:53   ` Dejin Zheng
  -1 siblings, 0 replies; 7+ messages in thread
From: Dejin Zheng @ 2020-09-09  2:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: devel, kbuild-all

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
@ 2020-09-07 20:25 ` kernel test robot
  0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-09-07 20:25 UTC (permalink / raw)
  To: Dejin Zheng; +Cc: devel, Greg Kroah-Hartman, kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4178 bytes --]

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-r034-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 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/irqchip.h:17,
                    from arch/h8300/include/asm/irq.h:5,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from ./arch/h8300/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/kernel_stat.h:9,
                    from arch/h8300/kernel/asm-offsets.c:14:
>> include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
      75 |   unsigned int num, unsigned int *irq, irq_handler_t handler,
         |                                        ^~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:117: arch/h8300/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1202: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
git fetch --no-tags driver-core driver-core-testing
git checkout 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
vim +/irq_handler_t +75 include/linux/platform_device.h

    53	
    54	extern struct resource *platform_get_resource(struct platform_device *,
    55						      unsigned int, unsigned int);
    56	extern struct device *
    57	platform_find_device_by_driver(struct device *start,
    58				       const struct device_driver *drv);
    59	extern void __iomem *
    60	devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
    61					unsigned int index, struct resource **res);
    62	extern void __iomem *
    63	devm_platform_ioremap_resource(struct platform_device *pdev,
    64				       unsigned int index);
    65	extern void __iomem *
    66	devm_platform_ioremap_resource_wc(struct platform_device *pdev,
    67					  unsigned int index);
    68	extern void __iomem *
    69	devm_platform_ioremap_resource_byname(struct platform_device *pdev,
    70					      const char *name);
    71	extern int platform_get_irq(struct platform_device *, unsigned int);
    72	extern int platform_get_irq_optional(struct platform_device *, unsigned int);
    73	extern int platform_irq_count(struct platform_device *);
    74	extern int devm_platform_request_irq(struct platform_device *pdev,
  > 75			unsigned int num, unsigned int *irq, irq_handler_t handler,
    76			unsigned long irqflags, const char *devname, void *dev_id);
    77	extern struct resource *platform_get_resource_byname(struct platform_device *,
    78							     unsigned int,
    79							     const char *);
    80	extern int platform_get_irq_byname(struct platform_device *, const char *);
    81	extern int platform_get_irq_byname_optional(struct platform_device *dev,
    82						    const char *name);
    83	extern int platform_add_devices(struct platform_device **, int);
    84	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25341 bytes --]

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
@ 2020-09-07 20:25 ` kernel test robot
  0 siblings, 0 replies; 7+ messages in thread
From: kernel test robot @ 2020-09-07 20:25 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4258 bytes --]

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-r034-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 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/irqchip.h:17,
                    from arch/h8300/include/asm/irq.h:5,
                    from include/linux/irq.h:23,
                    from include/asm-generic/hardirq.h:13,
                    from ./arch/h8300/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/kernel_stat.h:9,
                    from arch/h8300/kernel/asm-offsets.c:14:
>> include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
      75 |   unsigned int num, unsigned int *irq, irq_handler_t handler,
         |                                        ^~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:117: arch/h8300/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1202: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
git fetch --no-tags driver-core driver-core-testing
git checkout 4f4e9ddba1225e2dcdd08ac91f1e82aaca51f2b8
vim +/irq_handler_t +75 include/linux/platform_device.h

    53	
    54	extern struct resource *platform_get_resource(struct platform_device *,
    55						      unsigned int, unsigned int);
    56	extern struct device *
    57	platform_find_device_by_driver(struct device *start,
    58				       const struct device_driver *drv);
    59	extern void __iomem *
    60	devm_platform_get_and_ioremap_resource(struct platform_device *pdev,
    61					unsigned int index, struct resource **res);
    62	extern void __iomem *
    63	devm_platform_ioremap_resource(struct platform_device *pdev,
    64				       unsigned int index);
    65	extern void __iomem *
    66	devm_platform_ioremap_resource_wc(struct platform_device *pdev,
    67					  unsigned int index);
    68	extern void __iomem *
    69	devm_platform_ioremap_resource_byname(struct platform_device *pdev,
    70					      const char *name);
    71	extern int platform_get_irq(struct platform_device *, unsigned int);
    72	extern int platform_get_irq_optional(struct platform_device *, unsigned int);
    73	extern int platform_irq_count(struct platform_device *);
    74	extern int devm_platform_request_irq(struct platform_device *pdev,
  > 75			unsigned int num, unsigned int *irq, irq_handler_t handler,
    76			unsigned long irqflags, const char *devname, void *dev_id);
    77	extern struct resource *platform_get_resource_byname(struct platform_device *,
    78							     unsigned int,
    79							     const char *);
    80	extern int platform_get_irq_byname(struct platform_device *, const char *);
    81	extern int platform_get_irq_byname_optional(struct platform_device *dev,
    82						    const char *name);
    83	extern int platform_add_devices(struct platform_device **, int);
    84	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25341 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-09-09  2:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 20:21 [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t' kernel test robot
2020-09-07 20:21 ` kernel test robot
2020-09-08 11:37 ` Greg Kroah-Hartman
2020-09-08 11:37   ` Greg Kroah-Hartman
2020-09-09  2:53   ` Dejin Zheng
2020-09-07 20:25 kernel test robot
2020-09-07 20:25 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.