diff options
author | Joe Perches <joe@perches.com> | 2010-11-01 01:33:53 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-09 06:35:42 +0300 |
commit | 85b54e0c194fe216eb70cbce44365cef42cdc33e (patch) | |
tree | df75b40feb4cd2aa6b89e112895e77c678a67674 /drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | |
parent | 0ea75e23356f73b4300492e04a62c90787a55c2d (diff) | |
download | linux-85b54e0c194fe216eb70cbce44365cef42cdc33e.tar.xz |
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_ldu.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index a01c47ddb5bc..29113c9b26a8 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c @@ -557,7 +557,7 @@ int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv) return -EINVAL; } - dev_priv->ldu_priv = kmalloc(GFP_KERNEL, sizeof(*dev_priv->ldu_priv)); + dev_priv->ldu_priv = kmalloc(sizeof(*dev_priv->ldu_priv), GFP_KERNEL); if (!dev_priv->ldu_priv) return -ENOMEM; |