Re: [PATCH 2/2] adjtimex.2: Change 'PPM' (parts per million) to 'ppm'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 07/01/2015 06:59, Michael Kerrisk (man-pages) a écrit :
> Hi Laurent,

Hi

> Looking more closely, it seems like your workflow may still be mangling the patches. Here's a portion of what landed when I save your message to a text file:
> 
> [[
> -    long stabil;      /* PPS stability (scaled PPM, read-only) */
> +    long stabil;      /* PPS stability (2^-16 PPM (see NOTES), read-only=
> ) */
>      long jitcnt;      /* PPS jitter limit exceeded (read-only) */
>      long calcnt;      /* PPS calibration intervals (read-only) */
>      long errcnt;      /* PPS calibration errors (read-only) */
> @@ -343,6 +342,18 @@ and the caller does not have sufficient privilege.
>  Under Linux, the
>  .B CAP_SYS_TIME
>  capability is required.
> +.SH NOTES
> +In struct
> +.IR timex ,
> +.IR freq ,
> +.IR ppsfreq ,
> +and=20
> +.I stabil
> +are PPM (parts per million) with a 16-bits fractional part, which means =
> that a
> +value of 1 in one of those fields actually means 2^-16 PPM, and 2^16=3D6=
> 5535 is=20
> +1 PPM. This is the case for both input values (in the case of
> +.IR freq )
> +and output values.
>  .SH CONFORMING TO
>  .BR adjtimex ()
>  is Linux-specific and should not be used in programs
> --=20
> ]]
> 
> Note, for example, the line with 'long stabil', and the lines 
> from 'are PPM (parts per million)' onward. Surprisingly, this all 
> seemed to apply okay, just with some noise.
> 
Indeed, that's very bad. I didn't notice that because I tested my patch before sending it.
I copied and pasted the patch in a new file and it applied correctly, without strange characters.
Maybe the mangling comes from the mailer when it adds the PGP signature.  I'll try without.

Again, I'm sorry about all this. I hope it'll work better now and that I'll stop wasting your time
instead of helping...

Laurent
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux