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


Groups > linux.kernel > #1573597

Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix
Date Sat, 04 Feb 2017 05:30:01 +0100
Message-ID <t7093-3Al-5@gated-at.bofh.it> (permalink)
References <t6VVM-kN-5@gated-at.bofh.it> <t6YAh-2o4-7@gated-at.bofh.it> <t6ZmG-32o-11@gated-at.bofh.it>
X-Original-To Derek Robson <robsonde@gmail.com>, kbuild test robot <lkp@intel.com>
X-Session-Marker 6A6F6540706572636865732E636F6D
X-Spam-Summary 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::,RULES_HIT:41:355:379:541:599:967:968:973:981:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:1801:2393:2525:2553:2560:2563:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4605:5007:7903:9010:9025:10004:10394:10400:10848:11026:11232:11658:11914:12043:12050:12438:12555:12740:12760:12895:12986:13439:14180:14181:14659:14721:21060:21080:21434:21451:30029:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none
X-He-Tag store30_f198108d9c57
X-Filterd-Recvd-Size 3346
Content-Type text/plain; charset="ISO-8859-1"
X-Mailer Evolution 3.22.3-0ubuntu0.1
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 47
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, samuel.thibault@ens-lyon.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, speakup@linux-speakup.org, linux-kernel@vger.kernel.org
X-Original-Date Fri, 03 Feb 2017 20:21:42 -0800
X-Original-Message-ID <1486182102.22276.76.camel@perches.com>
X-Original-References <20170203235641.10306-1-robsonde@gmail.com> <201702041030.DlSmHZWB%fengguang.wu@intel.com> <20170204033129.GA28560@bigbird>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1573597

Show key headers only | View raw


On Sat, 2017-02-04 at 16:31 +1300, Derek Robson wrote:
> On Sat, Feb 04, 2017 at 10:41:20AM +0800, kbuild test robot wrote:
> > Hi Derek,
> > 
> > [auto build test ERROR on staging/staging-testing]
> > [also build test ERROR on v4.10-rc6 next-20170203]
> > [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/Derek-Robson/Drivers-staging-speakup-spk_priv-h-style-fix/20170204-080247
> > 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 error/warnings (new ones prefixed by >>):
> > 
> >     #define param_check_int(name, p) __param_check(name, p, int)
> >                                      ^~~~~~~~~~~~~
> >    include/linux/moduleparam.h:146:2: note: in expansion of macro 'param_check_int'
> >      param_check_##type(name, &(value));       \
> >      ^~~~~~~~~~~~
> >    drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
> >     module_param_named(ser, synth_acntsa.ser, int, 0444);
> >     ^~~~~~~~~~~~~~~~~~
> >    include/linux/moduleparam.h:146:36: error: expected declaration specifiers before ';' token
> >      param_check_##type(name, &(value));       \
> >                                        ^
> >    drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
> >     module_param_named(ser, synth_acntsa.ser, int, 0444);
> >     ^~~~~~~~~~~~~~~~~~
> >    include/linux/moduleparam.h:220:20: error: storage class specified for parameter '__param_str_ser'
> >      static const char __param_str_##name[] = prefix #name;  \
> 
> Can anyone tell me what I did wrong?

You removed semicolons from the function prototypes.

-int synth_request_region(u_long, u_long);
-int synth_release_region(u_long, u_long);
+int synth_request_region(unsigned long start, unsigned long n)
+int synth_release_region(unsigned long start, unsigned long n)

> I don't think it was my patch that broke the build.

You should make sure you build test a patch
before sending it on to the list.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Drivers: staging: speakup: spk_priv.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-04 01:00 +0100
  Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-04 04:40 +0100
    Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix Joe Perches <joe@perches.com> - 2017-02-04 05:30 +0100
  Re: Drivers: staging: speakup: spk_priv.h - style fix Guenter Roeck <linux@roeck-us.net> - 2017-02-04 05:40 +0100

csiph-web