Skip to content

Commit

Permalink
Staging: udlfb.c: Fix k.alloc switched arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent 43f88d5 commit 31a9f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/udlfb/udlfb.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 31a9f47

Please sign in to comment.