intel: use kzalloc

main
Dave Airlie 2008-06-04 13:09:20 +10:00
parent 8690ad8ae0
commit 8e4c61e526
1 changed files with 1 additions and 1 deletions

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;