[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510270600.lCMWUXoI%fengguang.wu@intel.com>
Date: Tue, 27 Oct 2015 06:10:29 +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 ERROR 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: i386-randconfig-s1-201543 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/input/misc/max77693-haptic.c: In function 'max77693_haptic_set_duty_cycle':
>> drivers/input/misc/max77693-haptic.c:76:10: error: too few arguments to function 'pwm_config'
error = pwm_config(haptic->pwm_dev, delta, haptic->pwm_dev->period);
^
In file included from drivers/input/misc/max77693-haptic.c:23:0:
include/linux/pwm.h:25:5: note: declared here
int pwm_config(struct pwm_device *pwm, int duty_ns,
^
--
drivers/input/misc/max8997_haptic.c: In function 'max8997_haptic_set_duty_cycle':
>> drivers/input/misc/max8997_haptic.c:76:9: error: too few arguments to function 'pwm_config'
ret = pwm_config(chip->pwm, duty, chip->pwm_period);
^
In file included from drivers/input/misc/max8997_haptic.c:29:0:
include/linux/pwm.h:25:5: note: declared here
int pwm_config(struct pwm_device *pwm, int duty_ns,
^
vim +/pwm_config +76 drivers/input/misc/max77693-haptic.c
a3b3ca75 Jaewon Kim 2014-09-11 70
a3b3ca75 Jaewon Kim 2014-09-11 71 static int max77693_haptic_set_duty_cycle(struct max77693_haptic *haptic)
a3b3ca75 Jaewon Kim 2014-09-11 72 {
a3b3ca75 Jaewon Kim 2014-09-11 73 int delta = (haptic->pwm_dev->period + haptic->pwm_duty) / 2;
a3b3ca75 Jaewon Kim 2014-09-11 74 int error;
a3b3ca75 Jaewon Kim 2014-09-11 75
a3b3ca75 Jaewon Kim 2014-09-11 @76 error = pwm_config(haptic->pwm_dev, delta, haptic->pwm_dev->period);
a3b3ca75 Jaewon Kim 2014-09-11 77 if (error) {
a3b3ca75 Jaewon Kim 2014-09-11 78 dev_err(haptic->dev, "failed to configure pwm: %d\n", error);
a3b3ca75 Jaewon Kim 2014-09-11 79 return error;
:::::: The code at line 76 was first introduced by commit
:::::: a3b3ca753cdc92c7d5f57404afed3115b3b79cc6 Input: add haptic driver on max77693
:::::: TO: Jaewon Kim <jaewon02.kim@...sung.com>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@...il.com>
---
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" (24764 bytes)
Powered by blists - more mailing lists