Signed-off-by: Mariusz Kozlowski drivers/char/drm/via_map.c | 3449 -> 3439 (-10 bytes) drivers/char/drm/via_map.o | 110028 -> 110488 (+460 bytes) drivers/char/drm/via_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.23-rc3-mm1.orig/drivers/char/drm/via_map.c +++ linux-2.6.23-rc3-mm1/drivers/char/drm/via_map.c @@ -100,8 +100,8 @@ int via_driver_load(struct drm_device *d drm_via_private_t *dev_priv; int ret = 0; - dev_priv = drm_calloc(1, sizeof(drm_via_private_t), DRM_MEM_DRIVER); - if (dev_priv == NULL) + dev_priv = drm_zalloc(sizeof(drm_via_private_t), DRM_MEM_DRIVER); + if (!dev_priv) return DRM_ERR(ENOMEM); dev->dev_private = (void *)dev_priv; -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/