From nobody Tue May 14 22:16:59 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1644495222; cv=none; d=zohomail.com; s=zohoarc; b=RSEi8Tyh45JsBDuOeqEJfwhHIAzs/iMgJzL05S2V+MrTRvuPp481Nw82Q+yU5BLbWqL4kRNxHhRVaMXBVruXdQiH1LZEPcsf4luuNzh+0ylqJ0JHYu6VRxbnC0lYqwCoOV0UX79qFDxJfYql/oPDVoiAz8WhGbpMCGplmdqoWxk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1644495222; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=O2ssmBqVw2++Ry+Zg4K1rB7sN5n7nPtc4+p3X7EYMrI=; b=XajX/J8zL+oZ8ObugEWxOYJwBJcZkV9HodwEo8GpmdortmIgk6TXl8Wxkt7wR0RwlYbLkCZeNi/Zp/AzsJVmlIyfJHVen2dEM8ocqjCfj57z04wprw3NtTZW7sVQxThvyMd+4g6ejMaLSSGfMy8d5kpBOI4AM5shfQHJlwN+Ksg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1644495222032378.4250433022298; Thu, 10 Feb 2022 04:13:42 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-207-gZzNuw7TP8KdZwYuFLwZ7Q-1; Thu, 10 Feb 2022 07:13:37 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8365010B7463; Thu, 10 Feb 2022 12:13:32 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D50562A19B; Thu, 10 Feb 2022 12:13:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5F4601809CB9; Thu, 10 Feb 2022 12:13:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 21ACCAdA023892 for ; Thu, 10 Feb 2022 07:12:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id C6BDC749BD; Thu, 10 Feb 2022 12:12:10 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2D344752B2 for ; Thu, 10 Feb 2022 12:11:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644495221; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=O2ssmBqVw2++Ry+Zg4K1rB7sN5n7nPtc4+p3X7EYMrI=; b=FfE5XPjfsc2rSd9WJ23ghPfk1vuAY0vKtyGemFXSVNGrvopXmU07ZW5c8j/9HKm26gKg24 hYAZAJcXliW0vDWVJ0dcc1kYSgrKT0i8G6knnJXHcoBJor/1+X+s8bHWXAsFBsDof2KDYq MdERn23Sfimxa7TTIqaXdwc+2YuuB78= X-MC-Unique: gZzNuw7TP8KdZwYuFLwZ7Q-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH] virNetDevOpenvswitchUpdateVlan: Use space for indentation Date: Thu, 10 Feb 2022 13:11:47 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1644495223635100001 Content-Type: text/plain; charset="utf-8" Breaks syntax-check: TAB_in_indentation /home/pipo/libvirt/src/util/virnetdevopenvswitch.c:610: if (virtVlan && vir= tVlan->nTags > 0) /home/pipo/libvirt/src/util/virnetdevopenvswitch.c:611: virCommandAddArgLi= st(cmd, "--", "--if-exists", "set", "Port", ifname, NULL); make: Leaving directory '/home/pipo/build/libvirt/gcc/build-aux' Fixes: 21c55a45efab47f2c8edc25d4fcabc1b99b6628c Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- Pushed as a build fix. src/util/virnetdevopenvswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitc= h.c index 227c04077d..7418716600 100644 --- a/src/util/virnetdevopenvswitch.c +++ b/src/util/virnetdevopenvswitch.c @@ -607,8 +607,8 @@ int virNetDevOpenvswitchUpdateVlan(const char *ifname, "--", "--if-exists", "clear", "Port", ifname, "tr= unk", "--", "--if-exists", "clear", "Port", ifname, "vl= an_mode", NULL); - if (virtVlan && virtVlan->nTags > 0) - virCommandAddArgList(cmd, "--", "--if-exists", "set", "Port", ifname, NU= LL); + if (virtVlan && virtVlan->nTags > 0) + virCommandAddArgList(cmd, "--", "--if-exists", "set", "Port", ifna= me, NULL); virNetDevOpenvswitchConstructVlans(cmd, virtVlan); --=20 2.34.1