Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: dillon.minfei@gmail.com
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v4 8/8] media: stm32-dma2d: STM32 DMA2D driver
Date: Sun, 7 Nov 2021 21:10:57 +0800	[thread overview]
Message-ID: <202111072141.dgSzTSfK-lkp@intel.com> (raw)
In-Reply-To: <1634207106-7632-9-git-send-email-dillon.minfei@gmail.com>

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

      parent reply	other threads:[~2021-11-07 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

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=202111072141.dgSzTSfK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dillon.minfei@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox