Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp238942rwb; Sun, 25 Sep 2022 19:39:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7R/kYEfDfZEBxWA9Ys1q1VUXTncpJz+kzQylr638h4hRAS2pJ5tDBAeIedZ3UDLFkEKsST X-Received: by 2002:a17:907:c10:b0:782:386f:f558 with SMTP id ga16-20020a1709070c1000b00782386ff558mr15825516ejc.739.1664159983713; Sun, 25 Sep 2022 19:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664159983; cv=none; d=google.com; s=arc-20160816; b=I2wgEu8oSQQ0avANdksS5Zwr9rQaj7j08CGwOvZxd0gbmnIOTf0Y6H1h9JfWg4UpmQ 8WP9gnkE+6f5FDL5K7KJsv8EIzcMymjKBKTOxqXZjXv9t4j5PC0fF6wskxzjHNqwWx/c 7DEeTa2d3csp7GTrf/XnzdWH3xvQSNWtdBJqzdUg6issN9aUcTHLJMceIJUB+WOYoOJP ezQbD6+oOgzrrQdxkKz57L/WY2/Pag5zdLU7qN0pYTzY+JN1oW487Tav2iDaBaXmsnbD YWdlT+1+KLgnekcQNdSJo901VX7AHOOIaBhTBIUoy3UP6raiH/gtaYzyR6n6LBd0G6lG G2zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:abuse-reports-to:tuid:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=cZWKdb82/LBzAqsTo2q0g7E62Srpau/iH6qUCD0wodM=; b=HEIeqs19G6Tr6iue1EN3P4yC2KZovjUnqEHUJNwxF48ACahLww+w90TjdfWusHFy9D ZCXOym+TFCau+gNQMSzRb9Ml1Bl+5vnZtdejSNjWtNRIHMuH/l9mMG6KOY9jrCFjoIo4 85BC1QxScSqilrqvKGiXHGO3uq0ui23aajEHrUidwgHAWSWiJ+Yxbf5DqvIxHzW0TU+H wrGq8b57cXVFO7T/VcFShJthEuNHxoT++DzfsPM+9qEMNaSsNajMWRHoHSzALO547D+w /q/Q8VemhDPAMkhHrH3y6BGFfgZ+KJIF2olSsg+yY6EWDwSdlbotE0mYknqQAH/X1CUK 5WYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx14-20020a05640222ae00b004573e9dd967si2035231edb.588.2022.09.25.19.39.16; Sun, 25 Sep 2022 19:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232918AbiIZCWO (ORCPT + 99 others); Sun, 25 Sep 2022 22:22:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231176AbiIZCWN (ORCPT ); Sun, 25 Sep 2022 22:22:13 -0400 Received: from unicom145.biz-email.net (unicom145.biz-email.net [210.51.26.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9959B27B00 for ; Sun, 25 Sep 2022 19:22:10 -0700 (PDT) Received: from ([60.208.111.195]) by unicom145.biz-email.net ((D)) with ASMTP (SSL) id UBW00006; Mon, 26 Sep 2022 10:22:06 +0800 Received: from localhost.localdomain (10.200.104.82) by jtjnmail201604.home.langchao.com (10.100.2.4) with Microsoft SMTP Server id 15.1.2507.12; Mon, 26 Sep 2022 10:22:05 +0800 From: Deming Wang To: , CC: , , Deming Wang Subject: [PATCH] virtio_ring: split: Operators use unified style Date: Sun, 25 Sep 2022 22:22:02 -0400 Message-ID: <20220926022202.1516-1-wangdeming@inspur.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.200.104.82] tUid: 2022926102206cc2dbadc0970d5d3e0eb6e0e1b2a8474 X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The operators of vring_alloc_queue_split should use the unified style.Add space for the '|' ,make it be looked more pretty. Signed-off-by: Deming Wang --- drivers/virtio/virtio_ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 8974c34b40fd..7510163565b7 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -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; -- 2.27.0