Hello, This kj patch series does kmalloc + memset conversion to k[cz]alloc. Some of them also remove redundant argument checks to functions that already do that internally. Also some minor style things are fixed like redundant k[mcz]alloc casts. Most of this patches shrink object size by several hundred bytes (you'll find stats below signed-off line) so this is a good thing. Almost all of them were compile tested. Please review and apply. Regards, Mariusz - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 82] drivers/scsi/zorro7xx.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 81] drivers/net/wireless/zd1201.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 80] fs/ext4/xattr.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 79] arch/i386/mach-voyager/voyager_cat.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 78] fs/proc/vmcore.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 77] sound/oss/via82cxxx_audio.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 76] drivers/net/via-velocity.c: mostly kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 75] drivers/macintosh/therm_adt746x.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 74] include/linux/textsearch.h: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 73] drivers/parport/share.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 72] drivers/mmc/core/sdio_bus.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 71] kernel/sched.c: kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 70] drivers/mtd/ubi/scan.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 68] drivers/net/s2io.c: kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 66] net/ipv4/raw.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 64] drivers/scsi/qla2xxx/qla_init.c: mostly kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 65] drivers/mtd/maps/pmcmsp-flash.c: kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 63] drivers/scsi/pluto.c: mostly kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 62] include/asm-avr32/pgalloc.h: kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 61] drivers/scsi/osst.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 60] drivers/net/wireless/prism54/oid_mgt.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 59] drivers/video/offb.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 58] net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 57] net/netfilter/nf_conntrack_expect.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 56] drivers/scsi/NCR_D700.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 55] drivers/char/n_hdlc.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 54] drivers/scsi/mvme16x_scsi.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 53] Documentation/DocBook/mtdnand.tmpl: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 52] include/asm-m32r/thread_info.h: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 51] drivers/media/video/msp3400-driver.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 50] drivers/message/fusion/mptctl.c: mostly kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 49] drivers/mmc/core/mmc_ops.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 48] include/asm-mips/thread_info.h: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- Re: [PATCH 24] include/asm-frv/thread_info.h: kmalloc + memset conversion to kzalloc
- From: David Howells <[email protected]>
- [PATCH 47] drivers/scsi/megaraid.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 46] drivers/scsi/lpfc/lpfc_scsi.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 45] drivers/scsi/lpfc/lpfc_init.c: kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 44] drivers/scsi/lpfc/lpfc_debugfs.c: kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 43] fs/reiser4/ktxnmgrd.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 42] fs/jbd2/journal.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 41] drivers/net/irda/irda-usb.c: mostly kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 40] drivers/atm/iphase.c: mostly kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 39] net/ipv4/ip_options.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 38] drivers/char/ip2/ip2main.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 37] arch/i386/kernel/io_apic.c: kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 36] arch/x86_64/kernel/io_apic.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 35] fs/reiser4/plugin/inode_ops_rename.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 34] fs/autofs4/inode.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 33] fs/reiser4/init_super.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- PATCH 32] drivers/mtd/inftlmount.c: kmalloc + memset conversion to kcalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 31] drivers/scsi/ide-scsi.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 30] drivers/ide/arm/icside.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 29] drivers/mmc/core/host.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 28] drivers/net/wan/hdlc_fr.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 27] drivers/input/serio/gscps2.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 26] drivers/scsi/gdth.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 25] drivers/usb/misc/ftdi-elan.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 24] include/asm-frv/thread_info.h: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 23] doc firmware_sample_firmware_class.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 22] drivers/net/e1000new/ethtool.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 21] drivers/scsi/dpt_i2o.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 19] drivers/md/dm-target.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 18] drivers/md/dm-table.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 17] drivers/md/dm-path-selector.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 16] drivers/md/dm-hw-handler.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 15] kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 14] kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 13] kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 12] fs/reiser4/plugin/file/cryptcompress.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 11] drivers/pci/hotplug/cpqphp_ctrl.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 10] drivers/block/cpqarray.c: better error handling and kmalloc + memset conversion to k[cz]alloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 09] drivers/char/consolemap.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 08] fs/cifs/connect.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 07] drivers/block/cciss.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 06] drivers/scsi/bvme6000_scsi.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 05] drivers/mmc/core/bus.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 04] drivers/sbus/char/bbc_i2c.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 03] drivers/sbus/char/bbc_envctrl.c: kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 02] kmalloc + memset conversion to kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 01] kmalloc + memset conversion co kzalloc
- From: Mariusz Kozlowski <[email protected]>
- [PATCH 82] drivers/scsi/zorro7xx.c: kmalloc + memset conversion to kzalloc
- Prev by Date: Re: [ck] Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)
- Next by Date: [PATCH] argv_split: allow argv_split to handle NULL pointer in argcp parameter gracefully
- Previous by thread: [PATCH] Make headers_check less chatty for success cases
- Next by thread: [PATCH 01] kmalloc + memset conversion co kzalloc
- Index(es):