From: Harvey Harrison Date: Tue, 28 Oct 2008 23:04:44 +0000 (-0700) Subject: printk: add %p6 format specifier for IPv6 addresses X-Git-Tag: v2.6.29-rc1~581^2~963 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=689afa7da106032a3e859ae35494f80dd6eac640;p=pandora-kernel.git printk: add %p6 format specifier for IPv6 addresses Takes a pointer to a IPv6 address and formats it in the usual colon-separated hex format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx Each 16 bit word is printed in network-endian byteorder. %#p6 is also supported and will omit the colons. %p6 is a replacement for NIP6_FMT and NIP6() %#p6 is a replacement for NIP6_SEQFMT and NIP6() Note that NIP6() took a struct in6_addr whereas this takes a pointer to a struct in6_addr. Signed-off-by: Harvey Harrison Signed-off-by: David S. Miller --- Reading git-diff-tree failed