Hello, As there are many places in drm code where drm_alloc + memset is used this patch series introduces drm_zalloc and also makes use of drm_calloc where needed. Most of these patches save some bytes so the benefit is a few kB saved (gcc 4.1.2) with patch applied. Also some small (style, etc.) things are fixed. This patch series does the conversion drm tree-wide. All patches were compile tested. Patches are against 2.6.23-rc3-mm1. 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:
- Re: [PATCH 00/23] drm: introduce drm_zalloc
- From: Christoph Hellwig <[email protected]>
- [PATCH 22/23] sis_drv.c: drm_calloc to drm_zalloc
- From: [email protected]
- [PATCH 23/23] via_map.c: drm_calloc to drm_zalloc
- From: [email protected]
- [PATCH 20/23] radeon_mem.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 21/23] savage_bci.c: drm_alloc + memset to drm_zalloc and cleanup
- From: [email protected]
- [PATCH 18/23] r128_cce.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 19/23] radeon_cp.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 16/23] i915_mem.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 15/23] i915_irq.c: drm_calloc to drm_zalloc and bugfix
- From: [email protected]
- [PATCH 17/23] mga_dma.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 14/23] i915_dma.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 13/23] i830_dma.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 12/23] i810_dma.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 11/23] drm_stub.c: drm_calloc to drm_zalloc
- From: [email protected]
- [PATCH 10/23] drm_sman.c: drm_calloc to drm_zalloc
- From: [email protected]
- [PATCH 09/23] drm_scatter.c: drm_alloc + memset to drm_alloc
- From: [email protected]
- [PATCH 08/23] drm_irq.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 07/23] drm_fops.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 06/23] drm_drawable.c: drm_calloc to drm_zalloc
- From: [email protected]
- [PATCH 05/23] drm_dma.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 04/23] drm_bufs.c: drm_alloc + memset to drm_alloc
- From: [email protected]
- [PATCH 03/23] drm_auth.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 02/23] drm_agpsupport.c: drm_alloc + memset to drm_zalloc
- From: [email protected]
- [PATCH 01/23] introduce drm_zalloc as a drm_alloc + memset replacement
- From: [email protected]
- Re: [PATCH 00/23] drm: introduce drm_zalloc
- Prev by Date: Re: [parisc-linux] [patch 15/23] Add cmpxchg_local to parisc
- Next by Date: [PATCH 01/23] introduce drm_zalloc as a drm_alloc + memset replacement
- Previous by thread: [PATCH] trivial - constify sched.h
- Next by thread: [PATCH 01/23] introduce drm_zalloc as a drm_alloc + memset replacement
- Index(es):