diff options
author | Joe Perches <joe@perches.com> | 2010-10-31 23:33:53 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-09 04:35:42 +0100 |
commit | 85b54e0c194fe216eb70cbce44365cef42cdc33e (patch) | |
tree | df75b40feb4cd2aa6b89e112895e77c678a67674 /drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | |
parent | DRM: ignore invalid EDID extensions (diff) | |
download | linux-85b54e0c194fe216eb70cbce44365cef42cdc33e.tar.xz linux-85b54e0c194fe216eb70cbce44365cef42cdc33e.zip |
drivers/gpu/drm/vmwgfx: Fix k.alloc switched arguments
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c index df2036ed18d5..f1a52f9e7298 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c @@ -585,7 +585,7 @@ int vmw_overlay_init(struct vmw_private *dev_priv) return -ENOSYS; } - overlay = kmalloc(GFP_KERNEL, sizeof(*overlay)); + overlay = kmalloc(sizeof(*overlay), GFP_KERNEL); if (!overlay) return -ENOMEM; |