diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-04 13:09:20 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-04 13:09:20 +1000 |
commit | 8e4c61e52651c47f3d9fbbe5e80455baff0de2bb (patch) | |
tree | b545792b21d3391cbca2970113a93968fb8b1ffb /linux-core | |
parent | 8690ad8ae0778f2ccd8b428e1c6a8614ebc51707 (diff) |
intel: use kzalloc
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c index 3f5afac0..6493af16 100644 --- a/linux-core/intel_display.c +++ b/linux-core/intel_display.c @@ -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; |