Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1658441 > unrolled thread

Re: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver

Started byBaolin Wang <baolin.wang@spreadtrum.com>
First post2017-06-06 09:30 +0200
Last post2017-06-06 09:50 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver Baolin Wang <baolin.wang@spreadtrum.com> - 2017-06-06 09:30 +0200
    Re: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver Baolin Wang <baolin.wang@spreadtrum.com> - 2017-06-06 09:50 +0200

#1658441 — Re: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver

FromBaolin Wang <baolin.wang@spreadtrum.com>
Date2017-06-06 09:30 +0200
SubjectRe: [PATCH v2 2/2] pinctrl: sprd: Add Spreadtrum pin control driver
Message-ID<tPh6b-5ES-27@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1658457

FromBaolin Wang <baolin.wang@spreadtrum.com>
Date2017-06-06 09:50 +0200
Message-ID<tPhpv-5Na-5@gated-at.bofh.it>
In reply to#1658441
Hi,

O 二,  6月 06, 2017 at 03:20:55下午 +0800, Baolin Wang wrote:
> 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.

Sorry for misunderstanding the warning, I've found the reason
of the warning and I will fix it in next version. Thanks.

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web