[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201706040741.cENZvRyX%fengguang.wu@intel.com>
Date: Sun, 4 Jun 2017 07:20:29 +0800
From: kbuild test robot <lkp@...el.com>
To: fenglinw@...eaurora.org
Cc: kbuild-all@...org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Thierry Reding <thierry.reding@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>, linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org, subbaram@...cinc.com,
aghayal@....qualcomm.com, wruan@...cinc.com,
kgunda@....qualcomm.com, Fenglin Wu <fenglinw@...eaurora.org>
Subject: Re: [PATCH V1 2/2] pwm: pwm-qti-lpg: Add PWM driver for QTI LPG
module
Hi Fenglin,
[auto build test ERROR on j.anaszewski-leds/for-next]
[also build test ERROR on v4.12-rc3 next-20170602]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/fenglinw-codeaurora-org/leds-leds-qti-rgb-Add-LED-driver-for-QTI-TRI_LED-module/20170531-153634
base: https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git for-next
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k
All errors (new ones prefixed by >>):
drivers/pwm/pwm-qti-lpg.c: In function 'qti_lpg_pwm_dbg_show':
>> drivers/pwm/pwm-qti-lpg.c:428:4: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
seq_printf(s, "LPG %d is requested by %s\n",
^
>> drivers/pwm/pwm-qti-lpg.c:437:4: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]
seq_puts(s, " enabled\n");
^
cc1: some warnings being treated as errors
vim +/seq_printf +428 drivers/pwm/pwm-qti-lpg.c
422 if (lpg == NULL) {
423 dev_err(pwm_chip->dev, "lpg not found\n");
424 return;
425 }
426
427 if (test_bit(PWMF_REQUESTED, &pwm->flags)) {
> 428 seq_printf(s, "LPG %d is requested by %s\n",
429 lpg->lpg_idx + 1, pwm->label);
430 } else {
431 seq_printf(s, "LPG %d is free\n",
432 lpg->lpg_idx + 1);
433 continue;
434 }
435
436 if (pwm_is_enabled(pwm)) {
> 437 seq_puts(s, " enabled\n");
438 } else {
439 seq_puts(s, " disabled\n");
440 continue;
---
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/gzip" (41150 bytes)
Powered by blists - more mailing lists