[PATCH 0/3] lib/vsprintf: Doc improvements and clock support

From: Geert Uytterhoeven
Date: Thu Feb 26 2015 - 06:13:47 EST


From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Hi,

This patch series improves the documentation for printk() formats, and
adds support for printing clocks. The latter has always been a hassle if
you wanted to support both the common and legacy clock frameworks.

- '%pC' and '%pCn' print the name (Common Clock Framework) or address
(legacy clock framework) of a clock,
- '%pCr' prints the current clock rate.

This is against next-20150226.

Thanks!

Geert Uytterhoeven (3):
lib/vsprintf: Document %p parameters passed by reference
lib/vsprintf: Move integer format types to the top
lib/vsprintf: Add %pC{,n,r} format specifiers for clocks

Documentation/printk-formats.txt | 49 ++++++++++++++++++++++++++++++----------
lib/vsprintf.c | 37 ++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 12 deletions(-)

--
1.9.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/