From nobody Sun Feb 8 04:33:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1693396783; cv=none; d=zohomail.com; s=zohoarc; b=G+p0TEs3rKRVqEBNJX0BjfxA8ovPuM/7NZkmKmJOm7UeRmSKdVvQ98G0k7QI0zUYq2GN5SKHKVRGGRcJFMgkip4YlSvTW8qLM4HuC5yZZo0GK6HSVksz43BhFesbmH+lGnxObjk8KYT+2Qk4s6ANmLuKfJK5kWHYRqFG7sSDyv0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693396783; 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=YGyTp+LpM2sEZldnCE4o2YEFLMTCtNygL488Y+xZfxc=; b=QEv2K9xqYP1tEJeMce0YtPKthvDmdblGrQk8w5EFe0rSAepTfIXleBdKohrJR3AuIWgCXmm6sKuPInTak4O8YB4Jm7tvLm+sH7iUkkM4I4rhMnGdGj5hhhn4lFprgpNEaDyTEMz2dS2N80fklzylYf2cpBZf4XgGhI163BmVX6w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1693396783837555.4601480235059; Wed, 30 Aug 2023 04:59:43 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-468-06mWdoBbNrKw1BTownWs-w-1; Wed, 30 Aug 2023 07:59:36 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0D2D5805F5B; Wed, 30 Aug 2023 11:59:34 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id BEBD72166B25; Wed, 30 Aug 2023 11:59:33 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9F64B19465A2; Wed, 30 Aug 2023 11:59:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 77FD71946A43 for ; Wed, 30 Aug 2023 11:59:25 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 6439FC15BC0; Wed, 30 Aug 2023 11:59:25 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7B69C15BAE for ; Wed, 30 Aug 2023 11:59:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693396782; 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=YGyTp+LpM2sEZldnCE4o2YEFLMTCtNygL488Y+xZfxc=; b=Rh7+R2TXcjeouUZ7XgPuleVvBRAWx0gAcxlnHYgtkGpBRJN/GyWcF9Ryi+SrraKLrRvnzo FhOg3i+H82XiHMAWsveXQod5s9t9aUJy4Vz332Mk+x9FOqNPySnbns9pqk0gBbrl4rWUDb JOjgR+Amc8YAdVQME4E8sYcukzwEM78= X-MC-Unique: 06mWdoBbNrKw1BTownWs-w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/8] virHostValidateBhyve: Declare one variable per line Date: Wed, 30 Aug 2023 13:59:16 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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: 1693396784694100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: Kristina Hanicova --- tools/virt-host-validate-bhyve.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/virt-host-validate-bhyve.c b/tools/virt-host-validate-bh= yve.c index a39225016d..9457fac9a5 100644 --- a/tools/virt-host-validate-bhyve.c +++ b/tools/virt-host-validate-bhyve.c @@ -50,8 +50,10 @@ int virHostValidateBhyve(void) int ret =3D 0; int fileid =3D 0; struct kld_file_stat stat; - bool vmm_loaded =3D false, if_tap_loaded =3D false; - bool if_bridge_loaded =3D false, nmdm_loaded =3D false; + bool vmm_loaded =3D false; + bool if_tap_loaded =3D false; + bool if_bridge_loaded =3D false; + bool nmdm_loaded =3D false; for (fileid =3D kldnext(0); fileid > 0; fileid =3D kldnext(fileid)) { stat.version =3D sizeof(struct kld_file_stat); --=20 2.41.0