[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510270604.Wd08v8a2%fengguang.wu@intel.com>
Date: Tue, 27 Oct 2015 06:11:50 +0800
From: kbuild test robot <lkp@...el.com>
To: Olliver Schinagl <o.schinagl@...imaker.com>
Cc: kbuild-all@...org, Olliver Schinagl <oliver@...inagl.nl>,
Thierry Reding <thierry.reding@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Joachim Eastwood <manabian@...il.com>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Olliver Schinagl <oliver+list@...inagl.nl>,
linux-pwm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 08/10] pwm: core: add pulse feature to the PWM framework
Hi Olliver,
[auto build test WARNING on pwm/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Olliver-Schinagl/pwm-lpc18xx_pwm-use-pwm_set_chip_data/20151027-053853
config: arm-at91_dt_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All warnings (new ones prefixed by >>):
>> drivers/pwm/pwm-atmel-tcb.c:359:2: warning: initialization from incompatible pointer type
.config = atmel_tcb_pwm_config,
^
drivers/pwm/pwm-atmel-tcb.c:359:2: warning: (near initialization for 'atmel_tcb_pwm_ops.config')
vim +359 drivers/pwm/pwm-atmel-tcb.c
9421bade Boris BREZILLON 2013-01-08 343 }
9421bade Boris BREZILLON 2013-01-08 344
9421bade Boris BREZILLON 2013-01-08 345 tcbpwm->period = period;
9421bade Boris BREZILLON 2013-01-08 346 tcbpwm->div = i;
9421bade Boris BREZILLON 2013-01-08 347 tcbpwm->duty = duty;
9421bade Boris BREZILLON 2013-01-08 348
9421bade Boris BREZILLON 2013-01-08 349 /* If the PWM is enabled, call enable to apply the new conf */
5c31252c Boris Brezillon 2015-07-01 350 if (pwm_is_enabled(pwm))
9421bade Boris BREZILLON 2013-01-08 351 atmel_tcb_pwm_enable(chip, pwm);
9421bade Boris BREZILLON 2013-01-08 352
9421bade Boris BREZILLON 2013-01-08 353 return 0;
9421bade Boris BREZILLON 2013-01-08 354 }
9421bade Boris BREZILLON 2013-01-08 355
9421bade Boris BREZILLON 2013-01-08 356 static const struct pwm_ops atmel_tcb_pwm_ops = {
9421bade Boris BREZILLON 2013-01-08 357 .request = atmel_tcb_pwm_request,
9421bade Boris BREZILLON 2013-01-08 358 .free = atmel_tcb_pwm_free,
9421bade Boris BREZILLON 2013-01-08 @359 .config = atmel_tcb_pwm_config,
9421bade Boris BREZILLON 2013-01-08 360 .set_polarity = atmel_tcb_pwm_set_polarity,
9421bade Boris BREZILLON 2013-01-08 361 .enable = atmel_tcb_pwm_enable,
9421bade Boris BREZILLON 2013-01-08 362 .disable = atmel_tcb_pwm_disable,
83c80dc5 Axel Lin 2013-03-31 363 .owner = THIS_MODULE,
9421bade Boris BREZILLON 2013-01-08 364 };
9421bade Boris BREZILLON 2013-01-08 365
9421bade Boris BREZILLON 2013-01-08 366 static int atmel_tcb_pwm_probe(struct platform_device *pdev)
9421bade Boris BREZILLON 2013-01-08 367 {
:::::: The code at line 359 was first introduced by commit
:::::: 9421bade0765d8ffb86b8a99213b611278a3542a pwm: atmel: add Timer Counter Block PWM driver
:::::: TO: Boris BREZILLON <linux-arm@...rkiz.com>
:::::: CC: Thierry Reding <thierry.reding@...onic-design.de>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (20010 bytes)
Powered by blists - more mailing lists