From: kernel test robot <lkp@intel.com>
To: "Bjorn Andersson" <bjorn.andersson@linaro.org>,
"Pavel Machek" <pavel@ucw.cz>, "Dan Murphy" <dmurphy@ti.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Andy Gross" <agross@kernel.org>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Lee Jones" <lee.jones@linaro.org>,
"Martin Botka" <martin.botka1@gmail.com>
Cc: kbuild-all@lists.01.org, linux-leds@vger.kernel.org
Subject: Re: [PATCH v4 2/4] leds: Add driver for Qualcomm LPG
Date: Tue, 29 Sep 2020 13:09:19 +0800 [thread overview]
Message-ID: <202009291309.GAV7PoLf-lkp@intel.com> (raw)
In-Reply-To: <20200929031544.1000204-3-bjorn.andersson@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2440 bytes --]
Hi Bjorn,
I love your patch! Yet something to improve:
[auto build test ERROR on pavel-linux-leds/for-next]
[also build test ERROR on robh/for-next v5.9-rc7 next-20200928]
[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/Bjorn-Andersson/Qualcomm-Light-Pulse-Generator/20200929-111512
base: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
config: microblaze-randconfig-r004-20200929 (attached as .config)
compiler: microblaze-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/5937b69205a78e5ed73d8e8e279eccaad245b1eb
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Bjorn-Andersson/Qualcomm-Light-Pulse-Generator/20200929-111512
git checkout 5937b69205a78e5ed73d8e8e279eccaad245b1eb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
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 >>):
microblaze-linux-ld: drivers/leds/leds-qcom-lpg.o: in function `lpg_pwm_apply':
>> drivers/leds/leds-qcom-lpg.c:814: undefined reference to `__udivdi3'
>> microblaze-linux-ld: drivers/leds/leds-qcom-lpg.c:815: undefined reference to `__udivdi3'
vim +814 drivers/leds/leds-qcom-lpg.c
807
808 static int lpg_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
809 const struct pwm_state *state)
810 {
811 struct lpg *lpg = container_of(chip, struct lpg, pwm);
812 struct lpg_channel *chan = &lpg->channels[pwm->hwpwm];
813
> 814 lpg_calc_freq(chan, state->period / NSEC_PER_USEC);
> 815 lpg_calc_duty(chan, state->duty_cycle / NSEC_PER_USEC);
816 chan->enabled = state->enabled;
817
818 lpg_apply(chan);
819
820 triled_set(lpg, chan->triled_mask, chan->enabled);
821
822 return 0;
823 }
824
---
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: 27446 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v4 2/4] leds: Add driver for Qualcomm LPG
Date: Tue, 29 Sep 2020 13:09:19 +0800 [thread overview]
Message-ID: <202009291309.GAV7PoLf-lkp@intel.com> (raw)
In-Reply-To: <20200929031544.1000204-3-bjorn.andersson@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]
Hi Bjorn,
I love your patch! Yet something to improve:
[auto build test ERROR on pavel-linux-leds/for-next]
[also build test ERROR on robh/for-next v5.9-rc7 next-20200928]
[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/Bjorn-Andersson/Qualcomm-Light-Pulse-Generator/20200929-111512
base: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next
config: microblaze-randconfig-r004-20200929 (attached as .config)
compiler: microblaze-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/5937b69205a78e5ed73d8e8e279eccaad245b1eb
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Bjorn-Andersson/Qualcomm-Light-Pulse-Generator/20200929-111512
git checkout 5937b69205a78e5ed73d8e8e279eccaad245b1eb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
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 >>):
microblaze-linux-ld: drivers/leds/leds-qcom-lpg.o: in function `lpg_pwm_apply':
>> drivers/leds/leds-qcom-lpg.c:814: undefined reference to `__udivdi3'
>> microblaze-linux-ld: drivers/leds/leds-qcom-lpg.c:815: undefined reference to `__udivdi3'
vim +814 drivers/leds/leds-qcom-lpg.c
807
808 static int lpg_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
809 const struct pwm_state *state)
810 {
811 struct lpg *lpg = container_of(chip, struct lpg, pwm);
812 struct lpg_channel *chan = &lpg->channels[pwm->hwpwm];
813
> 814 lpg_calc_freq(chan, state->period / NSEC_PER_USEC);
> 815 lpg_calc_duty(chan, state->duty_cycle / NSEC_PER_USEC);
816 chan->enabled = state->enabled;
817
818 lpg_apply(chan);
819
820 triled_set(lpg, chan->triled_mask, chan->enabled);
821
822 return 0;
823 }
824
---
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: 27446 bytes --]
next prev parent reply other threads:[~2020-09-29 5:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 3:15 [PATCH v4 0/4] Qualcomm Light Pulse Generator Bjorn Andersson
2020-09-29 3:15 ` [PATCH v4 1/4] dt-bindings: leds: Add Qualcomm Light Pulse Generator binding Bjorn Andersson
2020-09-29 14:48 ` Rob Herring
2020-09-29 14:51 ` Rob Herring
2020-09-29 3:15 ` [PATCH v4 2/4] leds: Add driver for Qualcomm LPG Bjorn Andersson
2020-09-29 5:09 ` kernel test robot [this message]
2020-09-29 5:09 ` kernel test robot
2020-10-07 9:40 ` Luca Weiss
2020-09-29 3:15 ` [PATCH v4 3/4] arm64: dts: qcom: msm8996: Add mpp and lpg blocks Bjorn Andersson
2020-10-01 15:22 ` Konrad Dybcio
2020-10-01 16:21 ` Bjorn Andersson
2020-09-29 3:15 ` [PATCH v4 4/4] arm64: dts: qcom: Add user LEDs on db820c Bjorn Andersson
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=202009291309.GAV7PoLf-lkp@intel.com \
--to=lkp@intel.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=dmurphy@ti.com \
--cc=kbuild-all@lists.01.org \
--cc=lee.jones@linaro.org \
--cc=linux-leds@vger.kernel.org \
--cc=martin.botka1@gmail.com \
--cc=pavel@ucw.cz \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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.