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
Subject: Re: [PATCH 1/3] drm/simpledrm: Bind to OF framebuffers in /chosen
Date: Fri, 19 Nov 2021 09:21:05 +0800	[thread overview]
Message-ID: <202111190947.aaoOad8s-lkp@intel.com> (raw)
In-Reply-To: <20211117145829.204360-2-marcan@marcan.st>

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

Hi Hector,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.16-rc1]
[cannot apply to next-20211118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Hector-Martin/drm-simpledrm-Apple-M1-DT-platform-support-fixes/20211117-230107
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: riscv-randconfig-r035-20211118 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/0day-ci/linux/commit/0be435c1fb3f0722a7099fee532925717a67a42a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Hector-Martin/drm-simpledrm-Apple-M1-DT-platform-support-fixes/20211117-230107
        git checkout 0be435c1fb3f0722a7099fee532925717a67a42a
        # 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=riscv 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(simpledrm_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(simpledrm_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(simpledrm_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: 35553 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/3] drm/simpledrm: Bind to OF framebuffers in /chosen
Date: Fri, 19 Nov 2021 09:21:05 +0800	[thread overview]
Message-ID: <202111190947.aaoOad8s-lkp@intel.com> (raw)
In-Reply-To: <20211117145829.204360-2-marcan@marcan.st>

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

Hi Hector,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.16-rc1]
[cannot apply to next-20211118]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Hector-Martin/drm-simpledrm-Apple-M1-DT-platform-support-fixes/20211117-230107
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: riscv-randconfig-r035-20211118 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/0day-ci/linux/commit/0be435c1fb3f0722a7099fee532925717a67a42a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Hector-Martin/drm-simpledrm-Apple-M1-DT-platform-support-fixes/20211117-230107
        git checkout 0be435c1fb3f0722a7099fee532925717a67a42a
        # 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=riscv 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(simpledrm_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(simpledrm_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(simpledrm_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: 35553 bytes --]

  parent reply	other threads:[~2021-11-19  1:21 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17 14:58 [PATCH 0/3] drm/simpledrm: Apple M1 / DT platform support fixes Hector Martin
2021-11-17 14:58 ` Hector Martin
2021-11-17 14:58 ` [PATCH 1/3] drm/simpledrm: Bind to OF framebuffers in /chosen Hector Martin
2021-11-17 14:58   ` Hector Martin
2021-11-18  9:19   ` Thomas Zimmermann
2021-11-18  9:19     ` Thomas Zimmermann
2021-11-20  3:23     ` Hector Martin
2021-11-20  3:23       ` Hector Martin
2021-11-29 11:26       ` Thomas Zimmermann
2021-11-29 11:26         ` Thomas Zimmermann
2021-11-29 19:29       ` Rob Herring
2021-11-29 19:29         ` Rob Herring
2021-11-30  6:44         ` Javier Martinez Canillas
2021-11-30  6:44           ` Javier Martinez Canillas
2021-11-30  8:31           ` Thomas Zimmermann
2021-11-30  8:31             ` Thomas Zimmermann
2021-11-30  9:31             ` Javier Martinez Canillas
2021-11-30  9:31               ` Javier Martinez Canillas
2021-11-30 18:25           ` Rob Herring
2021-11-30 18:25             ` Rob Herring
2021-11-19  1:21   ` kernel test robot [this message]
2021-11-19  1:21     ` kernel test robot
2021-11-17 14:58 ` [PATCH 2/3] drm/format-helper: Add drm_fb_xrgb8888_to_xrgb2101010_dstclip() Hector Martin
2021-11-17 14:58   ` Hector Martin
2021-11-18  9:16   ` Thomas Zimmermann
2021-11-18  9:16     ` Thomas Zimmermann
2021-11-22  9:52   ` Pekka Paalanen
2021-11-22  9:52     ` Pekka Paalanen
2021-11-22 10:05     ` Hector Martin
2021-11-22 10:05       ` Hector Martin
2021-11-22 10:39       ` Pekka Paalanen
2021-11-22 10:39         ` Pekka Paalanen
2021-11-17 14:58 ` [PATCH 3/3] drm/simpledrm: Enable XRGB2101010 format Hector Martin
2021-11-17 14:58   ` Hector Martin
2021-11-18  9:16   ` Thomas Zimmermann
2021-11-18  9:16     ` Thomas Zimmermann

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=202111190947.aaoOad8s-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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.