linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Baolin Wang <baolin.wang@spreadtrum.com>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, linus.walleij@linaro.org,
	mark.rutland@arm.com, robh+dt@kernel.org,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, broonie@kernel.org,
	baolin.wang@linaro.org
Subject: Re: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver
Date: Tue, 6 Jun 2017 15:20:55 +0800	[thread overview]
Message-ID: <20170606072055.GA11506@spreadtrum.com> (raw)
In-Reply-To: <201706060334.Gr0opyQJ%fengguang.wu@intel.com>

Hi,

O 二,  6月 06, 2017 at 03:07:22上午 +0800, kbuild test robot wrote:
> Hi Baolin,
> 
> [auto build test WARNING on robh/for-next]
> [also build test WARNING on v4.12-rc4]
> [cannot apply to pinctrl/devel next-20170605]
> [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/Baolin-Wang/DT-pinctrl-Add-binding-documentation-for-Spreadtrum-pin-controller/20170605-222351
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/pinctrl/sprd/pinctrl-sprd.c: In function 'sprd_pinconf_set':
> >> drivers/pinctrl/sprd/pinctrl-sprd.c:484:4: warning: case value '129' not in enumerated type 'enum pin_config_param' [-Wswitch]
>        case SPRD_PIN_CONFIG_SLEEP_MODE:
>        ^~~~
>    drivers/pinctrl/sprd/pinctrl-sprd.c:497:4: warning: case value '131' not in enumerated type 'enum pin_config_param' [-Wswitch]
>        case SPRD_PIN_CONFIG_INPUT_SLEEP:
>        ^~~~
>    drivers/pinctrl/sprd/pinctrl-sprd.c:502:4: warning: case value '132' not in enumerated type 'enum pin_config_param' [-Wswitch]
>        case SPRD_PIN_CONFIG_OUTPUT_SLEEP:
>        ^~~~
>    drivers/pinctrl/sprd/pinctrl-sprd.c:534:4: warning: case value '130' not in enumerated type 'enum pin_config_param' [-Wswitch]
>        case SPRD_PIN_CONFIG_PULLUP:
>        ^~~~
>    drivers/pinctrl/sprd/pinctrl-sprd.c:543:4: warning: case value '133' not in enumerated type 'enum pin_config_param' [-Wswitch]
>        case SPRD_PIN_CONFIG_PULLUP_SLEEP:
>        ^~~~
>    drivers/pinctrl/sprd/pinctrl-sprd.c:548:4: warning: case value '134' not in enumerated type 'enum pin_config_param' [-Wswitch]
>        case SPRD_PIN_CONFIG_PULLDOWN_SLEEP:
>        ^~~~

>From kernel doc for 'enum pin_config_param', user need use
PIN_CONFIG_END + 1 as the base offset if the user need to
pass in custom configuration to the pin controller. So I do
not think I need to fix this warning. Thanks.

> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



  reply	other threads:[~2017-06-06  7:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05 12:11 [PATCH v2 1/2] DT: pinctrl: Add binding documentation for Spreadtrum pin controller Baolin Wang
2017-06-05 12:11 ` [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver Baolin Wang
2017-06-05 19:07   ` kbuild test robot
2017-06-06  7:20     ` Baolin Wang [this message]
2017-06-06  7:40       ` Baolin Wang
2017-06-09 11:00 ` [PATCH v2 1/2] DT: pinctrl: Add binding documentation for Spreadtrum pin controller Linus Walleij
2017-06-12  6:07   ` Baolin Wang
2017-06-13  3:15     ` Baolin Wang
     [not found]       ` <20170613031547.GA29679-lxIno14LUO0EEoCn2XhGlw@public.gmane.org>
2017-06-20  9:31         ` Linus Walleij
2017-06-21  8:10           ` Baolin Wang
     [not found]             ` <CAMz4ku+jZ-S6sBL=ib++j+ooqweU9UC+MTgFca7ScrQiJDeZVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-25 22:19               ` Linus Walleij
2017-06-27  7:59                 ` Baolin Wang
     [not found]                   ` <CAMz4kuJigdhbV5+J1CcqP6zb7pqi9HaW=dxe_rsNi-=RsQ70vA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-12 12:04                     ` Linus Walleij
2017-06-20  9:10     ` Linus Walleij
2017-06-21  2:35       ` Baolin Wang

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=20170606072055.GA11506@spreadtrum.com \
    --to=baolin.wang@spreadtrum.com \
    --cc=baolin.wang@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).