Re: [PATCH] LinuxPPS - PPS support for Linux

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Jones <davej@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, David Woodhouse <dwmw2@...>
Date: Tuesday, October 23, 2007 - 4:55 pm

On Tue, Oct 23, 2007 at 04:17:50PM -0400, Dave Jones wrote:

Here the ./scripts/checkpatch.pl output:

   $ ./scripts/checkpatch.pl patch 
   WARNING: do not add new typedefs
   #522: FILE: Documentation/pps/timepps.h:59:
   +typedef int pps_handle_t;		/* represents a PPS source */

   WARNING: do not add new typedefs
   #523: FILE: Documentation/pps/timepps.h:60:
   +typedef unsigned long pps_seq_t;	/* sequence number */

   WARNING: do not add new typedefs
   #524: FILE: Documentation/pps/timepps.h:61:
   +typedef struct ntp_fp ntp_fp_t;		/* NTP-compatible time stamp */

   WARNING: do not add new typedefs
   #525: FILE: Documentation/pps/timepps.h:62:
   +typedef union pps_timeu pps_timeu_t;	/* generic data type for time stamps */

   WARNING: do not add new typedefs
   #526: FILE: Documentation/pps/timepps.h:63:
   +typedef struct pps_info pps_info_t;

   WARNING: do not add new typedefs
   #527: FILE: Documentation/pps/timepps.h:64:
   +typedef struct pps_params pps_params_t;

These refere to an userland include file.

   WARNING: line over 80 characters
   #1882: FILE: drivers/serial/serial_core.c:871:
   +		if (((old_flags ^ port->flags) & (UPF_SPD_MASK|UPF_HARDPPS_CD)) ||

   ERROR: need consistent spacing around '|' (ctx:WxV)
   #2191: FILE: include/linux/serial_core.h:288:
   +							|UPF_HARDPPS_CD))
                                                        ^
These refere to previous code.

   ERROR: Missing Signed-off-by: line(s)

   Your patch has style problems, please review.  If any of these errors
   are false positives report them to the maintainer, see
   CHECKPATCH in MAINTAINERS.

Attached the new patch.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti@enneenne.com
Linux Device Driver                             giometti@gnudd.com
Embedded Systems                     		giometti@linux.it
UNIX programming                     phone:     +39 349 2432127
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] LinuxPPS - PPS support for Linux, Rodolfo Giometti, (Tue Oct 23, 2:04 pm)
Re: [PATCH] LinuxPPS - PPS support for Linux, Dave Jones, (Tue Oct 23, 4:17 pm)
Re: [PATCH] LinuxPPS - PPS support for Linux, Rodolfo Giometti, (Tue Oct 23, 4:55 pm)
Re: [PATCH] LinuxPPS - PPS support for Linux, Roland Dreier, (Tue Oct 23, 5:08 pm)
Re: [PATCH] LinuxPPS - PPS support for Linux, Rodolfo Giometti, (Thu Oct 25, 4:39 am)
Re: [PATCH] LinuxPPS - PPS support for Linux, Rodolfo Giometti, (Thu Oct 25, 4:32 pm)
Re: [PATCH] LinuxPPS - PPS support for Linux, Rodolfo Giometti, (Wed Oct 24, 3:00 am)
Re: [PATCH] LinuxPPS - PPS support for Linux, Rodolfo Giometti, (Tue Oct 23, 4:35 pm)