[PATCH 0/2] cowsay support

From: Richard Weinberger
Date: Sun Apr 01 2018 - 04:57:18 EST


As the printk subsystem gains more and more popularity it is time to add
the final missing feature to make it perfect, namely cowsay output.
Currently only one type of cow is supported and the only user is kmsg,
but I can see more use cases for it and the need for different cow types.

Example of /dev/kmsg usage:
[ 1.309561] _________________________________________
[ 1.309561] < systemd[1]: Detected architecture x86-64. >
[ 1.309561] -----------------------------------------
[ 1.309561] \ ^__^
[ 1.309561] \ (oo)\_______
[ 1.309561] (__)\ )\/\
[ 1.309561] ||----w |
[ 1.309561] || ||

Richard Weinberger (2):
lib: vsprintf: Implement %pCOW
printk: Use %pCOW for kmsg

kernel/printk/printk.c | 5 ++++-
lib/vsprintf.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 1 deletion(-)

--
2.13.6