Skip to content

Commit

Permalink
ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation
Browse files Browse the repository at this point in the history
All callers of hpsb_register_addrspace() can sleep.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Jan 4, 2009
1 parent 4a6908a commit adb0a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/highlevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host,
return 0;
}

as = kmalloc(sizeof(*as), GFP_ATOMIC);
as = kmalloc(sizeof(*as), GFP_KERNEL);
if (!as)
return 0;

Expand Down

0 comments on commit adb0a61

Please sign in to comment.