All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Hector Martin <marcan@marcan.st>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [asahilinux:t6000/bringup-work 21/34] drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of '__inittest'
Date: Mon, 22 Nov 2021 14:58:25 +0800	[thread overview]
Message-ID: <202111221417.rdReKE0m-lkp@intel.com> (raw)

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

tree:   https://github.com/AsahiLinux/linux t6000/bringup-work
head:   3dd5d3b12cd6d7c4d9731061db6747f41bcc6cdc
commit: 9b33c21a89cb394a38274b1e8e8fba65b1cc6ad8 [21/34] drm/simpledrm: Bind to OF framebuffers in /chosen
config: arm-randconfig-c002-20211121 (attached as .config)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/AsahiLinux/linux/commit/9b33c21a89cb394a38274b1e8e8fba65b1cc6ad8
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux t6000/bringup-work
        git checkout 9b33c21a89cb394a38274b1e8e8fba65b1cc6ad8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/tiny/

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 >>):

>> drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of '__inittest'
   fs_initcall(simplefb_init);
   ^
   include/linux/module.h:119:27: note: expanded from macro 'fs_initcall'
   #define fs_initcall(fn)                 module_init(fn)
                                           ^
   include/linux/module.h:131:42: note: expanded from macro 'module_init'
           static inline initcall_t __maybe_unused __inittest(void)                \
                                                   ^
   drivers/gpu/drm/tiny/simpledrm.c:899:1: note: previous definition is here
   module_platform_driver(simpledrm_platform_driver);
   ^
   include/linux/platform_device.h:252:2: note: expanded from macro 'module_platform_driver'
           module_driver(__platform_driver, platform_driver_register, \
           ^
   include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
   } \
     ^
   include/linux/module.h:131:42: note: expanded from macro '\
   module_init'
           static inline initcall_t __maybe_unused __inittest(void)                \
                                                   ^
>> drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of 'init_module'
   fs_initcall(simplefb_init);
   ^
   include/linux/module.h:119:27: note: expanded from macro 'fs_initcall'
   #define fs_initcall(fn)                 module_init(fn)
                                           ^
   include/linux/module.h:133:6: note: expanded from macro 'module_init'
           int init_module(void) __copy(initfn)                    \
               ^
   drivers/gpu/drm/tiny/simpledrm.c:899:1: note: previous definition is here
   module_platform_driver(simpledrm_platform_driver);
   ^
   include/linux/platform_device.h:252:2: note: expanded from macro 'module_platform_driver'
           module_driver(__platform_driver, platform_driver_register, \
           ^
   include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
   } \
     ^
   include/linux/module.h:133:6: note: expanded from macro '\
   module_init'
           int init_module(void) __copy(initfn)                    \
               ^
   2 errors generated.


vim +/__inittest +915 drivers/gpu/drm/tiny/simpledrm.c

   914	
 > 915	fs_initcall(simplefb_init);
   916	

---
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: 42216 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [asahilinux:t6000/bringup-work 21/34] drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of '__inittest'
Date: Mon, 22 Nov 2021 14:58:25 +0800	[thread overview]
Message-ID: <202111221417.rdReKE0m-lkp@intel.com> (raw)

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

tree:   https://github.com/AsahiLinux/linux t6000/bringup-work
head:   3dd5d3b12cd6d7c4d9731061db6747f41bcc6cdc
commit: 9b33c21a89cb394a38274b1e8e8fba65b1cc6ad8 [21/34] drm/simpledrm: Bind to OF framebuffers in /chosen
config: arm-randconfig-c002-20211121 (attached as .config)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/AsahiLinux/linux/commit/9b33c21a89cb394a38274b1e8e8fba65b1cc6ad8
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux t6000/bringup-work
        git checkout 9b33c21a89cb394a38274b1e8e8fba65b1cc6ad8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/tiny/

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 >>):

>> drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of '__inittest'
   fs_initcall(simplefb_init);
   ^
   include/linux/module.h:119:27: note: expanded from macro 'fs_initcall'
   #define fs_initcall(fn)                 module_init(fn)
                                           ^
   include/linux/module.h:131:42: note: expanded from macro 'module_init'
           static inline initcall_t __maybe_unused __inittest(void)                \
                                                   ^
   drivers/gpu/drm/tiny/simpledrm.c:899:1: note: previous definition is here
   module_platform_driver(simpledrm_platform_driver);
   ^
   include/linux/platform_device.h:252:2: note: expanded from macro 'module_platform_driver'
           module_driver(__platform_driver, platform_driver_register, \
           ^
   include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
   } \
     ^
   include/linux/module.h:131:42: note: expanded from macro '\
   module_init'
           static inline initcall_t __maybe_unused __inittest(void)                \
                                                   ^
>> drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of 'init_module'
   fs_initcall(simplefb_init);
   ^
   include/linux/module.h:119:27: note: expanded from macro 'fs_initcall'
   #define fs_initcall(fn)                 module_init(fn)
                                           ^
   include/linux/module.h:133:6: note: expanded from macro 'module_init'
           int init_module(void) __copy(initfn)                    \
               ^
   drivers/gpu/drm/tiny/simpledrm.c:899:1: note: previous definition is here
   module_platform_driver(simpledrm_platform_driver);
   ^
   include/linux/platform_device.h:252:2: note: expanded from macro 'module_platform_driver'
           module_driver(__platform_driver, platform_driver_register, \
           ^
   include/linux/device/driver.h:262:3: note: expanded from macro 'module_driver'
   } \
     ^
   include/linux/module.h:133:6: note: expanded from macro '\
   module_init'
           int init_module(void) __copy(initfn)                    \
               ^
   2 errors generated.


vim +/__inittest +915 drivers/gpu/drm/tiny/simpledrm.c

   914	
 > 915	fs_initcall(simplefb_init);
   916	

---
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: 42216 bytes --]

             reply	other threads:[~2021-11-22  6:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22  6:58 kernel test robot [this message]
2021-11-22  6:58 ` [asahilinux:t6000/bringup-work 21/34] drivers/gpu/drm/tiny/simpledrm.c:915:1: error: redefinition of '__inittest' kernel test robot

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=202111221417.rdReKE0m-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=marcan@marcan.st \
    /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.