Commit adb0a616 authored by Stefan Richter's avatar Stefan Richter

ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation

All callers of hpsb_register_addrspace() can sleep.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 4a6908a3
...@@ -420,7 +420,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host, ...@@ -420,7 +420,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host,
return 0; return 0;
} }
as = kmalloc(sizeof(*as), GFP_ATOMIC); as = kmalloc(sizeof(*as), GFP_KERNEL);
if (!as) if (!as)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment