Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-starfive.git] / drivers / virtio / virtio_ring.c
index 8974c34..2e7689b 100644 (file)
@@ -1074,7 +1074,7 @@ static int vring_alloc_queue_split(struct vring_virtqueue_split *vring_split,
        if (!queue) {
                /* Try to get a single page. You are my only hope! */
                queue = vring_alloc_queue(vdev, vring_size(num, vring_align),
-                                         &dma_addr, GFP_KERNEL|__GFP_ZERO);
+                                         &dma_addr, GFP_KERNEL | __GFP_ZERO);
        }
        if (!queue)
                return -ENOMEM;
@@ -1875,7 +1875,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
 
        ring = vring_alloc_queue(vdev, ring_size_in_bytes,
                                 &ring_dma_addr,
-                                GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
+                                GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
        if (!ring)
                goto err;
 
@@ -1887,7 +1887,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
 
        driver = vring_alloc_queue(vdev, event_size_in_bytes,
                                   &driver_event_dma_addr,
-                                  GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
+                                  GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
        if (!driver)
                goto err;
 
@@ -1897,7 +1897,7 @@ static int vring_alloc_queue_packed(struct vring_virtqueue_packed *vring_packed,
 
        device = vring_alloc_queue(vdev, event_size_in_bytes,
                                   &device_event_dma_addr,
-                                  GFP_KERNEL|__GFP_NOWARN|__GFP_ZERO);
+                                  GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO);
        if (!device)
                goto err;