1
0
Fork 0
alistair23-linux/include
Tetsuo Handa 839cc2a94c seq_file: introduce seq_setwidth() and seq_pad()
There are several users who want to know bytes written by seq_*() for
alignment purpose.  Currently they are using %n format for knowing it
because seq_*() returns 0 on success.

This patch introduces seq_setwidth() and seq_pad() for allowing them to
align without using %n format.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Joe Perches <joe@perches.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-15 09:32:20 +09:00
..
acpi ACPI and power management updates for 3.13-rc1 2013-11-14 13:41:48 +09:00
asm-generic Merge branch 'akpm' (patches from Andrew Morton) 2013-11-13 15:45:43 +09:00
clocksource
crypto
drm
dt-bindings The clock changes for 3.13 are an even mix of framework improvements & 2013-11-12 16:11:47 +09:00
keys
kvm
linux seq_file: introduce seq_setwidth() and seq_pad() 2013-11-15 09:32:20 +09:00
math-emu
media
memory
misc
net netfilter: push reasm skb through instead of original frag skbs 2013-11-11 00:19:35 -05:00
pcmcia
ras
rdma
rxrpc
scsi Pull Request for 3.13 2013-11-10 12:19:15 +08:00
sound Merge remote-tracking branch 'asoc/topic/twl4030' into asoc-next 2013-11-08 10:43:40 +00:00
target
trace Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-11-14 16:30:30 +09:00
uapi PCI changes for the v3.13 merge window: 2013-11-14 14:02:00 +09:00
video fbdev changes for 3.13 2013-11-14 14:44:20 +09:00
xen xen-netback: enable IPv6 TCP GSO to the guest 2013-10-17 15:35:17 -04:00
Kbuild