Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1227874
| From | Ian Abbott <abbotti@mev.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Staging: comedi: Fixed coding style issues in comedi.h |
| Date | 2015-09-18 15:50 +0200 |
| Message-ID | <qa4d4-4d9-3@gated-at.bofh.it> (permalink) |
| References | <qa37l-2Hb-55@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 18/09/15 13:30, Punit Vara wrote: > This patch is to the comedi.h file that fixes up following type > of 42 warning in the file: > > -Blocking comments use a trailing */ on a separate line > -Block comments use * on subsequent lines > > Signed-off-by: Punit Vara <punitvara@gmail.com> > > --- > drivers/staging/comedi/comedi.h | 183 +++++++++++++++++++++++----------------- > 1 file changed, 107 insertions(+), 76 deletions(-) > > diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h > index 66edda1..4bc4b6c 100644 > --- a/drivers/staging/comedi/comedi.h > +++ b/drivers/staging/comedi/comedi.h > @@ -1,20 +1,20 @@ > -/* > - include/comedi.h (installed as /usr/include/comedi.h) > - header file for comedi > - > - COMEDI - Linux Control and Measurement Device Interface > - Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org> > - > - This program is free software; you can redistribute it and/or modify > - it under the terms of the GNU Lesser General Public License as published by > - the Free Software Foundation; either version 2 of the License, or > - (at your option) any later version. > - > - This program is distributed in the hope that it will be useful, > - but WITHOUT ANY WARRANTY; without even the implied warranty of > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - GNU General Public License for more details. > -*/ > +/** That's the wrong sort of comment opening. It should be '/*'. The '/**' form is reserved for kernel-doc mark-up. > + * include/comedi.h (installed as /usr/include/comedi.h) > + * header file for comedi > + These blank lines in the block comment should be ' *'. (The same applies to the other comments you changed in this patch.) -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=- -=( Web: http://www.mev.co.uk/ )=- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Staging: comedi: Fixed coding style issues in comedi.h Punit Vara <punitvara@gmail.com> - 2015-09-18 14:40 +0200 Re: [PATCH] Staging: comedi: Fixed coding style issues in comedi.h Ian Abbott <abbotti@mev.co.uk> - 2015-09-18 15:50 +0200
csiph-web