From: kbuild test robot <lkp@intel.com>
To: Michael Tretter <m.tretter@pengutronix.de>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Cc: Dhaval Shah <dshah@xilinx.com>, Michal Simek <monstr@monstr.eu>,
kbuild-all@lists.01.org,
Michael Tretter <m.tretter@pengutronix.de>,
Rob Herring <robh+dt@kernel.org>,
kernel@pengutronix.de,
Rohit Visavalia <rohit.visavalia@xilinx.com>
Subject: Re: [PATCH v2 3/6] soc: xilinx: vcu: implement clock provider for output clocks
Date: Wed, 15 Apr 2020 03:48:21 +0800 [thread overview]
Message-ID: <202004150354.wkl12PIZ%lkp@intel.com> (raw)
In-Reply-To: <20200414103202.4288-4-m.tretter@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 4496 bytes --]
Hi Michael,
I love your patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on ljones-mfd/for-mfd-next rockchip/for-next keystone/next arm64/for-next/core arm-soc/for-next shawnguo/for-next v5.7-rc1 next-20200414]
[cannot apply to xlnx/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Michael-Tretter/soc-xilinx-vcu-provide-interfaces-for-other-drivers/20200414-235029
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: x86_64-randconfig-a002-20200414 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/err.h:5:0,
from include/linux/clk.h:12,
from drivers/soc/xilinx/xlnx_vcu.c:9:
drivers/soc/xilinx/xlnx_vcu.c: In function 'xvcu_reset':
drivers/soc/xilinx/xlnx_vcu.c:540:11: error: 'struct xvcu_device' has no member named 'reset_gpio'
if (!xvcu->reset_gpio)
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> drivers/soc/xilinx/xlnx_vcu.c:540:2: note: in expansion of macro 'if'
if (!xvcu->reset_gpio)
^~
drivers/soc/xilinx/xlnx_vcu.c:540:11: error: 'struct xvcu_device' has no member named 'reset_gpio'
if (!xvcu->reset_gpio)
^
include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> drivers/soc/xilinx/xlnx_vcu.c:540:2: note: in expansion of macro 'if'
if (!xvcu->reset_gpio)
^~
drivers/soc/xilinx/xlnx_vcu.c:540:11: error: 'struct xvcu_device' has no member named 'reset_gpio'
if (!xvcu->reset_gpio)
^
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
(cond) ? \
^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~~~~~~~~~~~
>> drivers/soc/xilinx/xlnx_vcu.c:540:2: note: in expansion of macro 'if'
if (!xvcu->reset_gpio)
^~
drivers/soc/xilinx/xlnx_vcu.c:543:2: error: implicit declaration of function 'gpiod_set_value'; did you mean 'bitmap_set_value8'? [-Werror=implicit-function-declaration]
gpiod_set_value(xvcu->reset_gpio, 0);
^~~~~~~~~~~~~~~
bitmap_set_value8
drivers/soc/xilinx/xlnx_vcu.c:543:22: error: 'struct xvcu_device' has no member named 'reset_gpio'
gpiod_set_value(xvcu->reset_gpio, 0);
^~
drivers/soc/xilinx/xlnx_vcu.c:545:2: error: implicit declaration of function 'usleep_range'; did you mean 'sort_range'? [-Werror=implicit-function-declaration]
usleep_range(60, 120);
^~~~~~~~~~~~
sort_range
drivers/soc/xilinx/xlnx_vcu.c:546:22: error: 'struct xvcu_device' has no member named 'reset_gpio'
gpiod_set_value(xvcu->reset_gpio, 1);
^~
At top level:
drivers/soc/xilinx/xlnx_vcu.c:538:13: warning: 'xvcu_reset' defined but not used [-Wunused-function]
static void xvcu_reset(struct xvcu_device *xvcu)
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/if +540 drivers/soc/xilinx/xlnx_vcu.c
537
538 static void xvcu_reset(struct xvcu_device *xvcu)
539 {
> 540 if (!xvcu->reset_gpio)
541 return;
542
543 gpiod_set_value(xvcu->reset_gpio, 0);
544 /* min 2 clock cycle of vcu pll_ref, slowest freq is 33.33KHz */
545 usleep_range(60, 120);
546 gpiod_set_value(xvcu->reset_gpio, 1);
547 usleep_range(60, 120);
548 }
549
---
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: 34937 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-04-14 19:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 10:31 [PATCH v2 0/6] soc: xilinx: vcu: provide interfaces for other drivers Michael Tretter
2020-04-14 10:31 ` [PATCH v2 1/6] soc: xilinx: vcu: drop useless success message Michael Tretter
2020-04-14 10:31 ` [PATCH v2 2/6] ARM: dts: define indexes for output clocks Michael Tretter
2020-04-14 10:31 ` [PATCH v2 3/6] soc: xilinx: vcu: implement clock provider " Michael Tretter
2020-04-14 18:42 ` kbuild test robot
2020-04-14 19:48 ` kbuild test robot [this message]
2020-04-15 6:26 ` Michael Tretter
2020-04-14 10:32 ` [PATCH v2 4/6] dt-bindings: soc: xlnx: extract xlnx, vcu-settings to separate binding Michael Tretter
2020-04-14 10:32 ` [PATCH v2 5/6] soc: xilinx: vcu: use vcu-settings syscon registers Michael Tretter
2020-04-14 10:32 ` [PATCH v2 6/6] soc: xilinx: vcu: add missing register NUM_CORE Michael Tretter
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=202004150354.wkl12PIZ%lkp@intel.com \
--to=lkp@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dshah@xilinx.com \
--cc=kbuild-all@lists.01.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=m.tretter@pengutronix.de \
--cc=monstr@monstr.eu \
--cc=robh+dt@kernel.org \
--cc=rohit.visavalia@xilinx.com \
/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;
as well as URLs for NNTP newsgroup(s).