From nobody Sun Feb 8 18:15:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1617723134; cv=none; d=zohomail.com; s=zohoarc; b=Ms9ebFTbhEg2r+6l+y5c9F7j2yDHdqiFv6wmU8i60skJ9LLAKMQcYtlv/2fvemCiUxNUBNx4nZuCO3xlpRI/zxTvBBAiMuFmihE4QyQ2ngI+pc6Ps6q21aArHYFR6BCxpNJNCbmioMRuwv0yUWmLgB8bwDd0cey/iHoavt9fgAo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617723134; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gkAZzLHpqmZAnK97TU1Z2JvcCe57FO6JLK3fuweb0KQ=; b=KCthrd9i6M7lZRjvAGcIynp6C0bXrliPOaycXChlUehmEL02tbDjBLLpNRd8kYSPMejIP/SAY4jOk1hWp4ZCfql+8l36AsAySyi0/kl1OEHweSbL+JVhHAOC0te4MShqGLS4jCqZ+Npw0sBpDuxALtTfhzOreY4twHYHdj3C0Os= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1617723134642351.3059695286995; Tue, 6 Apr 2021 08:32:14 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-139-QnVBxcE6Phi3mb0L-Uimfg-1; Tue, 06 Apr 2021 11:32:09 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9BA8E10CE7AB; Tue, 6 Apr 2021 15:31:58 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 70D4160854; Tue, 6 Apr 2021 15:31:58 +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 2B81C4A7C8; Tue, 6 Apr 2021 15:31:58 +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 136FVjjJ023719 for ; Tue, 6 Apr 2021 11:31:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id A77715DAA5; Tue, 6 Apr 2021 15:31:45 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-172.ams2.redhat.com [10.36.114.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id D09AA5D9DC; Tue, 6 Apr 2021 15:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617723133; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=gkAZzLHpqmZAnK97TU1Z2JvcCe57FO6JLK3fuweb0KQ=; b=PBjK++FIDjPGDMhFaKf5/ceb2Kkj75Pxo5xtM+pmZzdVOWHpqaPjgL23J4iOO/g/Ykb3Up qzlsJJqLEc9HinEVAu+8HJR8xl0ltGJu0bTbrn4PTc+8sizoG5woBnQv3j0gcnwiOnhbvG hg1YJ3E9fSf/LBpqGxIE/moNBVoa0Cc= X-MC-Unique: QnVBxcE6Phi3mb0L-Uimfg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/6] qemu: fix indentation off-by-1 Date: Tue, 6 Apr 2021 16:31:34 +0100 Message-Id: <20210406153137.314183-4-berrange@redhat.com> In-Reply-To: <20210406153137.314183-1-berrange@redhat.com> References: <20210406153137.314183-1-berrange@redhat.com> 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.79 on 10.5.11.13 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Peter Krempa --- src/qemu/qemu_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 7fcf7ad1ef..d3fcca699a 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -418,7 +418,7 @@ qemuBuildDeviceAddressStr(virBufferPtr buf, virBufferAddLit(buf, ",multifunction=3Doff"); virBufferAsprintf(buf, ",addr=3D0x%x", info->addr.pci.slot); if (info->addr.pci.function !=3D 0) - virBufferAsprintf(buf, ".0x%x", info->addr.pci.function); + virBufferAsprintf(buf, ".0x%x", info->addr.pci.function); } else if (info->type =3D=3D VIR_DOMAIN_DEVICE_ADDRESS_TYPE_USB) { if (!(contAlias =3D virDomainControllerAliasFind(domainDef, VIR_DOMAIN_CONTROLL= ER_TYPE_USB, --=20 2.30.2