]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/infiniband/hw/ehca/ipz_pt_fn.c
treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks
[mirror_ubuntu-zesty-kernel.git] / drivers / infiniband / hw / ehca / ipz_pt_fn.c
index 62c71fadb4d97d10a29f0e05452b63f888fb0814..8d594517cd292821182e0dc363a32ea0f6d98c9f 100644 (file)
@@ -222,7 +222,8 @@ int ipz_queue_ctor(struct ehca_pd *pd, struct ipz_queue *queue,
        queue->small_page = NULL;
 
        /* allocate queue page pointers */
-       queue->queue_pages = kzalloc(nr_of_pages * sizeof(void *), GFP_KERNEL);
+       queue->queue_pages = kzalloc(nr_of_pages * sizeof(void *),
+                                    GFP_KERNEL | __GFP_NOWARN);
        if (!queue->queue_pages) {
                queue->queue_pages = vzalloc(nr_of_pages * sizeof(void *));
                if (!queue->queue_pages) {