diff options
author | Joe Perches <joe@perches.com> | 2010-10-31 23:33:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-09 23:05:24 +0100 |
commit | 31a9f47aa081292d1c750002724aa23b3bd44bb8 (patch) | |
tree | cb7da9c8659cb13c3b3eaa8cabbe132ae0a768b9 /drivers/staging | |
parent | Staging: rtl8192e: fix IOMMU memory leak (diff) | |
download | linux-31a9f47aa081292d1c750002724aa23b3bd44bb8.tar.xz linux-31a9f47aa081292d1c750002724aa23b3bd44bb8.zip |
Staging: udlfb.c: Fix k.alloc switched arguments
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/udlfb/udlfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/udlfb/udlfb.c b/drivers/staging/udlfb/udlfb.c index 5969e848d297..fed25105970a 100644 --- a/drivers/staging/udlfb/udlfb.c +++ b/drivers/staging/udlfb/udlfb.c @@ -887,7 +887,7 @@ static int dlfb_ops_open(struct fb_info *info, int user) struct fb_deferred_io *fbdefio; - fbdefio = kmalloc(GFP_KERNEL, sizeof(struct fb_deferred_io)); + fbdefio = kmalloc(sizeof(struct fb_deferred_io), GFP_KERNEL); if (fbdefio) { fbdefio->delay = DL_DEFIO_WRITE_DELAY; |