Re: [PATCH] doc: printk-formats: do not mention casts for u64/s64

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

 



On 04/07/2014 02:43 AM, Ilya Dryomov wrote:
> Do not mention casts for u64/s64.  Complements commit 2a7930bd77fe
> ("Documentation/printk-formats.txt: No casts needed for u64/s64").
> 
> Signed-off-by: Ilya Dryomov <ilya.dryomov@xxxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

Jiri, will you merge thru trivial, please?


> ---
>  Documentation/printk-formats.txt |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt
> index 6f4eb322ffaf..b4498218c474 100644
> --- a/Documentation/printk-formats.txt
> +++ b/Documentation/printk-formats.txt
> @@ -199,11 +199,11 @@ struct va_format:
>  	Do not use this feature without some mechanism to verify the
>  	correctness of the format string and va_list arguments.
>  
> -u64 SHOULD be printed with %llu/%llx, (unsigned long long):
> +u64 SHOULD be printed with %llu/%llx:
>  
>  	printk("%llu", u64_var);
>  
> -s64 SHOULD be printed with %lld/%llx, (long long):
> +s64 SHOULD be printed with %lld/%llx:
>  
>  	printk("%lld", s64_var);
>  
> 


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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux