Re: [PATCH 7/9] docs/zh_CN: core-api: Update the translation of printk-format.rst to 5.19-rc2

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

 



On Wed, Jun 15, 2022 at 05:24:30PM +0800, Binbin Zhou wrote:
> Synchronous translation from the following commits(Latest in front):
> 
> [1]: commit 2fbf5241a561("vsprintf: add new `%pA` format specifier")

^ this commit is from rust-next and not appeared in master or
jc/docs-next yet, so please drop it.

Thanks,
	Wu

> 
> [2]: commit 6a7ca80f4033("vsprintf: Update %pGp documentation
>      about that it prints hex value")
> 
> Signed-off-by: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
> ---
>  .../translations/zh_CN/core-api/printk-formats.rst  | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/translations/zh_CN/core-api/printk-formats.rst b/Documentation/translations/zh_CN/core-api/printk-formats.rst
> index ce39c788cf5a..78561c35e528 100644
> --- a/Documentation/translations/zh_CN/core-api/printk-formats.rst
> +++ b/Documentation/translations/zh_CN/core-api/printk-formats.rst
> @@ -5,6 +5,7 @@
>  :翻译:
>  
>   司延腾 Yanteng Si <siyanteng@xxxxxxxxxxx>
> + 周彬彬 Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
>  
>  .. _cn_printk-formats.rst:
>  
> @@ -548,7 +549,7 @@ nodemask_pr_args()来方便打印cpumask和nodemask。
>  
>  ::
>  
> -	%pGp	referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff
> +	%pGp	0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)
>  	%pGg	GFP_USER|GFP_DMA32|GFP_NOWARN
>  	%pGv	read|exec|mayread|maywrite|mayexec|denywrite
>  
> @@ -589,6 +590,16 @@ V4L2和DRM FourCC代码(像素格式)
>  	%p4cc	Y10  little-endian (0x20303159)
>  	%p4cc	NV12 big-endian (0xb231564e)
>  
> +Rust
> +----
> +
> +::
> +
> +       %pA
> +
> +仅用于Rust代码格式化``core::fmt::Arguments``。
> +不能用于C语言。
> +
>  谢谢
>  ====
>  
> -- 
> 2.20.1




[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