All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [driver-core:driver-core-testing 29/33] include/linux/platform_device.h:75:40: error: unknown type name 'irq_handler_t'
Date: Tue, 08 Sep 2020 04:25:21 +0800	[thread overview]
Message-ID: <202009080417.UTTTfFM9%lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2020-09-07 20:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 20:25 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
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-08 11:37 ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202009080417.UTTTfFM9%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.