Thread (11 messages) 11 messages, 3 authors, 2021-09-20

Re: [PATCH v6 3/3] pwm: Add support for Xilinx AXI Timer

From: Sean Anderson <hidden>
Date: 2021-08-27 16:29:51
Also in: linux-arm-kernel, linux-devicetree, lkml, llvm, oe-kbuild-all


On 8/27/21 3:16 AM, kernel test robot wrote:
Hi Sean,

I love your patch! Perhaps something to improve:

[auto build test WARNING on tip/timers/core]
[also build test WARNING on pwm/for-next linus/master v5.14-rc7 next-20210826]
[cannot apply to xlnx/master]
[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/Sean-Anderson/dt-bindings-pwm-Add-Xilinx-AXI-Timer/20210827-052011
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 127c92feb74a6721f62587f1b89128808f049cf1
config: mips-randconfig-r025-20210827 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe)
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 mips cross compiling tool for clang build
         # apt-get install binutils-mips-linux-gnu
         # https://github.com/0day-ci/linux/commit/eab56f0b0c5a62e40c04916eb1b4f21f478cec3a
         git remote add linux-review https://github.com/0day-ci/linux
         git fetch --no-tags linux-review Sean-Anderson/dt-bindings-pwm-Add-Xilinx-AXI-Timer/20210827-052011
         git checkout eab56f0b0c5a62e40c04916eb1b4f21f478cec3a
         # save the attached .config to linux build tree
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All warnings (new ones prefixed by >>):
quoted
quoted
drivers/pwm/pwm-xilinx.c:249:34: warning: unused variable 'xilinx_timer_of_match' [-Wunused-const-variable]
    static const struct of_device_id xilinx_timer_of_match[] = {
                                     ^
    1 warning generated.


vim +/xilinx_timer_of_match +249 drivers/pwm/pwm-xilinx.c

    248	
  > 249	static const struct of_device_id xilinx_timer_of_match[] = {
    250		{ .compatible = "xlnx,xps-timer-1.00.a", },
    251		{},
    252	};
    253	MODULE_DEVICE_TABLE(of, xilinx_timer_of_match);
    254	
For this and the error on the previous patch it looks like I am missing a dependency on OF_ADDR. Will add.

--Sean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help