All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 4/4] clk: bcm: Add BCM63268 timer clock and reset driver
Date: Thu, 04 Mar 2021 14:22:44 +0800	[thread overview]
Message-ID: <202103041439.fRggASYf-lkp@intel.com> (raw)
In-Reply-To: <20210225194201.17001-5-noltari@gmail.com>

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

Hi "Álvaro,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next pza/reset/next v5.12-rc1 next-20210303]
[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/lvaro-Fern-ndez-Rojas/clk-add-BCM63268-timer-clock-and-reset/20210226-034945
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-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
        # https://github.com/0day-ci/linux/commit/f6057c7d442f720a3824acc27e306a67344348ce
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review lvaro-Fern-ndez-Rojas/clk-add-BCM63268-timer-clock-and-reset/20210226-034945
        git checkout f6057c7d442f720a3824acc27e306a67344348ce
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

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/clk/bcm/clk-bcm63268-timer.c: In function 'bcm63268_timer_reset_update':
>> drivers/clk/bcm/clk-bcm63268-timer.c:91:8: error: implicit declaration of function '__raw_readl'; did you mean '__raw_read_lock'? [-Werror=implicit-function-declaration]
      91 |  val = __raw_readl(reset->regs);
         |        ^~~~~~~~~~~
         |        __raw_read_lock
>> drivers/clk/bcm/clk-bcm63268-timer.c:96:2: error: implicit declaration of function '__raw_writel'; did you mean '__raw_write_lock'? [-Werror=implicit-function-declaration]
      96 |  __raw_writel(val, reset->regs);
         |  ^~~~~~~~~~~~
         |  __raw_write_lock
   cc1: some warnings being treated as errors


vim +91 drivers/clk/bcm/clk-bcm63268-timer.c

    82	
    83	static int bcm63268_timer_reset_update(struct reset_controller_dev *rcdev,
    84					unsigned long id, bool assert)
    85	{
    86		struct bcm63268_tclkrst_hw *reset = to_bcm63268_timer_reset(rcdev);
    87		unsigned long flags;
    88		uint32_t val;
    89	
    90		spin_lock_irqsave(&reset->lock, flags);
  > 91		val = __raw_readl(reset->regs);
    92		if (assert)
    93			val &= ~BIT(id);
    94		else
    95			val |= BIT(id);
  > 96		__raw_writel(val, reset->regs);
    97		spin_unlock_irqrestore(&reset->lock, flags);
    98	
    99		return 0;
   100	}
   101	

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

  reply	other threads:[~2021-03-04  6:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 19:41 [PATCH 0/4] clk: add BCM63268 timer clock and reset Álvaro Fernández Rojas
2021-02-25 19:41 ` [PATCH 1/4] mips: bmips: add BCM63268 timer clock definitions Álvaro Fernández Rojas
2021-03-06 21:09   ` Rob Herring
2021-03-13 22:55   ` Stephen Boyd
2021-02-25 19:41 ` [PATCH 2/4] mips: bmips: add BCM63268 timer reset definitions Álvaro Fernández Rojas
2021-03-06 21:17   ` Rob Herring
2021-03-07 10:08     ` Álvaro Fernández Rojas
2021-03-09 19:21       ` Rob Herring
2021-02-25 19:42 ` [PATCH 3/4] dt-bindings: clock: Add BCM63268 timer binding Álvaro Fernández Rojas
2021-03-06 21:18   ` Rob Herring
2021-02-25 19:42 ` [PATCH 4/4] clk: bcm: Add BCM63268 timer clock and reset driver Álvaro Fernández Rojas
2021-03-04  6:22   ` kernel test robot [this message]
2021-03-13 22:48     ` Stephen Boyd
2021-03-14  1:43       ` Florian Fainelli
2021-03-13 22:54   ` Stephen Boyd

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=202103041439.fRggASYf-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.