]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net-procfs: Use vsnprintf extension %phN
authorJoe Perches <joe@perches.com>
Fri, 2 Jun 2017 09:40:44 +0000 (02:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jun 2017 23:52:58 +0000 (19:52 -0400)
commitfbd0ac60420fa2f5d45865326ad1074b80f29060
treeb2cb3b104dbcd2f16fa6b4e106105278d45c1223
parent342fa1964439511268265be44b3e08825bbe4d05
net-procfs: Use vsnprintf extension %phN

Save a bit of code by using the kernel extension.

$ size net/core/net-procfs.o*
   text    data     bss     dec     hex filename
   3701     120       0    3821     eed net/core/net-procfs.o.new
   3764     120       0    3884     f2c net/core/net-procfs.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-procfs.c