summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-31 15:33:55 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-09 14:05:24 -0800
commit31a9f47aa081292d1c750002724aa23b3bd44bb8 (patch)
treecb7da9c8659cb13c3b3eaa8cabbe132ae0a768b9
parent43f88d530ec656d9b556fb0d127b30757b1c3d35 (diff)
downloadlinux-31a9f47aa081292d1c750002724aa23b3bd44bb8.tar.gz
linux-31a9f47aa081292d1c750002724aa23b3bd44bb8.tar.bz2
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>
-rw-r--r--drivers/staging/udlfb/udlfb.c2
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;