intel: use kzalloc

This commit is contained in:
Dave Airlie 2008-06-04 13:09:20 +10:00
parent 8690ad8ae0
commit 8e4c61e526

View file

@ -1491,7 +1491,7 @@ struct drm_framebuffer *intel_user_framebuffer_create(struct drm_device *dev,
{
struct intel_framebuffer *intel_fb;
intel_fb = kmalloc(sizeof(*intel_fb), GFP_KERNEL);
intel_fb = kzalloc(sizeof(*intel_fb), GFP_KERNEL);
if (!intel_fb)
return NULL;