Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver
       [not found] <1634207106-7632-9-git-send-email-dillon.minfei@gmail.com>
@ 2021-10-26  5:29 ` kernel test robot
  2021-10-26  6:16   ` Dillon Min
  2021-11-07 13:10 ` kernel test robot
  1 sibling, 1 reply; 4+ messages in thread
From: kernel test robot @ 2021-10-26  5:29 UTC (permalink / raw)
  To: dillon.minfei; +Cc: llvm, kbuild-all

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

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on media-tree/master]
[also build test ERROR on atorgue-stm32/stm32-next clk/clk-next linus/master v5.15-rc7 next-20211025]
[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/dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
base:   git://linuxtv.org/media_tree.git master
config: hexagon-randconfig-r015-20211025 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
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
        # https://github.com/0day-ci/linux/commit/af498051ebf90dbd11747a29cdc2eea74de2afea
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
        git checkout af498051ebf90dbd11747a29cdc2eea74de2afea
        # 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=hexagon SHELL=/bin/bash

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

>> ld.lld: error: undefined symbol: v4l2_fh_init
   >>> referenced by dma2d.c
   >>> media/platform/stm32/dma2d/dma2d.o:(dma2d_open) in archive drivers/built-in.a
   >>> referenced by dma2d.c
   >>> media/platform/stm32/dma2d/dma2d.o:(dma2d_open) in archive drivers/built-in.a

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

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

* Re: [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver
  2021-10-26  5:29 ` [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver kernel test robot
@ 2021-10-26  6:16   ` Dillon Min
  2021-10-26  6:47     ` Dillon Min
  0 siblings, 1 reply; 4+ messages in thread
From: Dillon Min @ 2021-10-26  6:16 UTC (permalink / raw)
  To: kernel test robot; +Cc: llvm, kbuild-all

Hi Kernel

Thanks for your testing, could you help to test the [v6 version]
of this series? v6 is the latest version accepted by maintainers,
also rebased to [media_tree] since v5.

I will try to check this compile test on v6 as well.

[v6 version]
https://patchwork.linuxtv.org/project/linux-media/patch/1634633003-18132-11-git-send-email-dillon.minfei@gmail.com/

[media_tree]
https://git.linuxtv.org/media_tree.git

Thanks & Regards
Dillon

On Tue, 26 Oct 2021 at 13:29, kernel test robot <lkp@intel.com> wrote:
>
> Hi,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on media-tree/master]
> [also build test ERROR on atorgue-stm32/stm32-next clk/clk-next linus/master v5.15-rc7 next-20211025]
> [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/dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
> base:   git://linuxtv.org/media_tree.git master
> config: hexagon-randconfig-r015-20211025 (attached as .config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
> 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
>         # https://github.com/0day-ci/linux/commit/af498051ebf90dbd11747a29cdc2eea74de2afea
>         git remote add linux-review https://github.com/0day-ci/linux
>         git fetch --no-tags linux-review dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
>         git checkout af498051ebf90dbd11747a29cdc2eea74de2afea
>         # 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=hexagon SHELL=/bin/bash
>
> 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 >>):
>
> >> ld.lld: error: undefined symbol: v4l2_fh_init
>    >>> referenced by dma2d.c
>    >>> media/platform/stm32/dma2d/dma2d.o:(dma2d_open) in archive drivers/built-in.a
>    >>> referenced by dma2d.c
>    >>> media/platform/stm32/dma2d/dma2d.o:(dma2d_open) in archive drivers/built-in.a
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

* Re: [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver
  2021-10-26  6:16   ` Dillon Min
@ 2021-10-26  6:47     ` Dillon Min
  0 siblings, 0 replies; 4+ messages in thread
From: Dillon Min @ 2021-10-26  6:47 UTC (permalink / raw)
  To: kernel test robot, Hans Verkuil, Mauro Carvalho Chehab,
	mchehab+huawei
  Cc: llvm, kbuild-all

Hi Kernel

Please ignore my last mail, no need to test v6, should have the same
issue. I found the cause in Kconfig.

495 config VIDEO_STM32_DMA2D
496     tristate "STM32 Chrom-Art Accelerator (DMA2D)"
497     depends on (VIDEO_DEV && VIDEO_V4L2 && ARCH_STM32) || COMPILE_TEST

should be
497     depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_STM32 || COMPILE_TEST)

Will send v7 right now.

Hi Hans, Mauro

Sorry for trouble, I need to send a patch to fix the compile test issue.
Could you help to drop the v6 version, thanks.

Best Regards
Dillon

On Tue, 26 Oct 2021 at 14:16, Dillon Min <dillon.minfei@gmail.com> wrote:
>
> Hi Kernel
>
> Thanks for your testing, could you help to test the [v6 version]
> of this series? v6 is the latest version accepted by maintainers,
> also rebased to [media_tree] since v5.
>
> I will try to check this compile test on v6 as well.
>
> [v6 version]
> https://patchwork.linuxtv.org/project/linux-media/patch/1634633003-18132-11-git-send-email-dillon.minfei@gmail.com/
>
> [media_tree]
> https://git.linuxtv.org/media_tree.git
>
> Thanks & Regards
> Dillon
>
> On Tue, 26 Oct 2021 at 13:29, kernel test robot <lkp@intel.com> wrote:
> >
> > Hi,
> >
> > Thank you for the patch! Yet something to improve:
> >
> > [auto build test ERROR on media-tree/master]
> > [also build test ERROR on atorgue-stm32/stm32-next clk/clk-next linus/master v5.15-rc7 next-20211025]
> > [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/dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
> > base:   git://linuxtv.org/media_tree.git master
> > config: hexagon-randconfig-r015-20211025 (attached as .config)
> > compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
> > 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
> >         # https://github.com/0day-ci/linux/commit/af498051ebf90dbd11747a29cdc2eea74de2afea
> >         git remote add linux-review https://github.com/0day-ci/linux
> >         git fetch --no-tags linux-review dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
> >         git checkout af498051ebf90dbd11747a29cdc2eea74de2afea
> >         # 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=hexagon SHELL=/bin/bash
> >
> > 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 >>):
> >
> > >> ld.lld: error: undefined symbol: v4l2_fh_init
> >    >>> referenced by dma2d.c
> >    >>> media/platform/stm32/dma2d/dma2d.o:(dma2d_open) in archive drivers/built-in.a
> >    >>> referenced by dma2d.c
> >    >>> media/platform/stm32/dma2d/dma2d.o:(dma2d_open) in archive drivers/built-in.a
> >
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

* Re: [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver
       [not found] <1634207106-7632-9-git-send-email-dillon.minfei@gmail.com>
  2021-10-26  5:29 ` [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver kernel test robot
@ 2021-11-07 13:10 ` kernel test robot
  1 sibling, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-07 13:10 UTC (permalink / raw)
  To: dillon.minfei; +Cc: llvm, kbuild-all

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

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on media-tree/master]
[also build test ERROR on atorgue-stm32/stm32-next clk/clk-next linus/master v5.15]
[cannot apply to next-20211106]
[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/dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
base:   git://linuxtv.org/media_tree.git master
config: hexagon-buildonly-randconfig-r003-20211025 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
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
        # https://github.com/0day-ci/linux/commit/af498051ebf90dbd11747a29cdc2eea74de2afea
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review dillon-minfei-gmail-com/Add-support-for-DMA2D-of-STMicroelectronics-STM32-Soc-series/20211014-182826
        git checkout af498051ebf90dbd11747a29cdc2eea74de2afea
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon 

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/media/platform/stm32/dma2d/dma2d-hw.c:29:20: error: unused function 'reg_set' [-Werror,-Wunused-function]
   static inline void reg_set(void __iomem *base, u32 reg, u32 mask)
                      ^
>> drivers/media/platform/stm32/dma2d/dma2d-hw.c:34:20: error: unused function 'reg_clear' [-Werror,-Wunused-function]
   static inline void reg_clear(void __iomem *base, u32 reg, u32 mask)
                      ^
   2 errors generated.


vim +/reg_set +29 drivers/media/platform/stm32/dma2d/dma2d-hw.c

    28	
  > 29	static inline void reg_set(void __iomem *base, u32 reg, u32 mask)
    30	{
    31		reg_write(base, reg, reg_read(base, reg) | mask);
    32	}
    33	
  > 34	static inline void reg_clear(void __iomem *base, u32 reg, u32 mask)
    35	{
    36		reg_write(base, reg, reg_read(base, reg) & ~mask);
    37	}
    38	

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

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

end of thread, other threads:[~2021-11-07 13:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1634207106-7632-9-git-send-email-dillon.minfei@gmail.com>
2021-10-26  5:29 ` [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver kernel test robot
2021-10-26  6:16   ` Dillon Min
2021-10-26  6:47     ` Dillon Min
2021-11-07 13:10 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox