Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: core-api/printk-formats.rst: Clarify formatting {cpu,node}mask

Clarify how to pass the field width for bitmaps, and mention the helper
macros that are available to ease printing cpumask and nodemask.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20201110144121.3278667-1-geert+renesas@glider.be
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Geert Uytterhoeven and committed by
Jonathan Corbet
04d0608b bfe7bf31

+3 -1
+3 -1
Documentation/core-api/printk-formats.rst
··· 531 531 %*pb outputs the bitmap with field width as the number of bits and %*pbl 532 532 output the bitmap as range list with field width as the number of bits. 533 533 534 - Passed by reference. 534 + The field width is passed by value, the bitmap is passed by reference. 535 + Helper macros cpumask_pr_args() and nodemask_pr_args() are available to ease 536 + printing cpumask and nodemask. 535 537 536 538 Flags bitfields such as page flags, gfp_flags 537 539 ---------------------------------------------