]> git.baikalelectronics.ru Git - kernel.git/commit
lib/vsprintf.c: remove %Z support
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 27 Feb 2017 22:30:02 +0000 (14:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:47 +0000 (18:43 -0800)
commit461dc19e11c3aaf27777e16d521b8718a86f4be6
tree44ef4dd9cfd9587c81f4183638648b340a3d3b7e
parent3a489be50978aeccc31f5042a842e5917b67f3d4
lib/vsprintf.c: remove %Z support

Now that %z is standartised in C99 there is no reason to support %Z.
Unlike %L it doesn't even make format strings smaller.

Use BUILD_BUG_ON in a couple ATM drivers.

In case anyone didn't notice lib/vsprintf.o is about half of SLUB which
is in my opinion is quite an achievement.  Hopefully this patch inspires
someone else to trim vsprintf.c more.

Link: http://lkml.kernel.org/r/20170103230126.GA30170@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
79 files changed:
block/bsg.c
drivers/atm/ambassador.c
drivers/atm/eni.c
drivers/atm/firestream.c
drivers/atm/horizon.c
drivers/atm/lanai.c
drivers/char/pcmcia/cm4000_cs.c
drivers/char/pcmcia/cm4040_cs.c
drivers/gpu/drm/mga/mga_drv.h
drivers/ide/ide-acpi.c
drivers/ide/ide-tape.c
drivers/input/touchscreen/cyttsp4_core.c
drivers/media/dvb-frontends/helene.c
drivers/media/dvb-frontends/or51132.c
drivers/media/dvb-frontends/tda10048.c
drivers/media/pci/saa7164/saa7164-fw.c
drivers/media/tuners/xc5000.c
drivers/media/usb/dvb-usb/dib0700_devices.c
drivers/misc/vmw_vmci/vmci_context.c
drivers/net/arcnet/arcnet.c
drivers/net/ethernet/cadence/macb.c
drivers/net/gtp.c
drivers/net/usb/rndis_host.c
drivers/net/usb/sierra_net.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/intel/iwlegacy/4965-mac.c
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/parport/ieee1284_ops.c
drivers/scsi/osd/osd_initiator.c
drivers/scsi/osst.c
drivers/scsi/qla2xxx/qla_init.c
drivers/tty/n_hdlc.c
drivers/usb/gadget/legacy/inode.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/fotg210-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/misc/adutux.c
drivers/usb/misc/legousbtower.c
drivers/usb/misc/uss720.c
drivers/video/fbdev/metronomefb.c
fs/afs/dir.c
fs/ncpfs/sock.c
fs/nfs/blocklayout/blocklayout.c
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/objlayout/objlayout.c
fs/nfsd/nfscache.c
kernel/relay.c
lib/vsprintf.c
mm/dmapool.c
net/appletalk/ddp.c
net/atm/mpc.c
net/bridge/netfilter/ebt_among.c
net/ieee802154/socket.c
net/ipv4/fib_trie.c
net/ipv4/ipmr.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv4/netfilter/nf_log_arp.c
net/ipv6/netfilter/nf_log_ipv6.c
net/irda/irnet/irnet_ppp.c
net/l2tp/l2tp_core.c
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/ipvs/ip_vs_dh.c
net/netfilter/ipvs/ip_vs_lblc.c
net/netfilter/ipvs/ip_vs_lblcr.c
net/netfilter/ipvs/ip_vs_sh.c
net/netfilter/ipvs/ip_vs_sync.c
net/netfilter/nf_conntrack_ftp.c
net/sctp/output.c
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/svc.c
net/sunrpc/svcsock.c
net/sunrpc/xprtsock.c
security/selinux/ss/ebitmap.c
security/selinux/ss/policydb.c
sound/pci/korg1212/korg1212.c
sound/pci/pcxhr/pcxhr_hwdep.c
sound/pcmcia/vx/vxp_ops.c
sound/soc/soc-core.c