]> Pileus Git - ~andy/linux/blobdiff - net/irda/ircomm/ircomm_core.c
TTY: ircomm, use GFP_KERNEL in ircomm_open()
[~andy/linux] / net / irda / ircomm / ircomm_core.c
index 52079f19bbbe4a087efbf0d1e4627a4e6bc8b408..b797daac063c2231efb0dc053bbf51301dae756d 100644 (file)
@@ -117,7 +117,7 @@ struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line)
 
        IRDA_ASSERT(ircomm != NULL, return NULL;);
 
-       self = kzalloc(sizeof(struct ircomm_cb), GFP_ATOMIC);
+       self = kzalloc(sizeof(struct ircomm_cb), GFP_KERNEL);
        if (self == NULL)
                return NULL;