From nobody Tue Feb 10 19:47:44 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=1622536700; cv=none; d=zohomail.com; s=zohoarc; b=I/9g2VCPgy/1gJyjiIfMJi72reOkTnJQjtfCSxTenTH9X4PHHoRPVYuAnBL8LQ7J4iIkO/es4Mk5ztn99cj7NfbQ4k4l60OCRVxkaF3CwEynRQQS4N1K4b2gGG6NcItOUJGW80u6yzG4MTAjhQ0bifwQohHk6dM/RQHGFkPd9L0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622536700; 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=fnJhmK69gDJdBfLdj5lElFu4ayhujOQE/7xBRIfdlxM=; b=W1IqcPbcuWeFzrSXiBwEG98ksZVytGamHZHiN0lmjKySWkzkxk534z8RtNXwRWDNb034yk/sx9m6DKm0upQCvF9P/audnxDOSD5PueeuD7YB4y060pv7hFKlrvj8GbyO3wggNug+F2TxgSS/nW2fsO0k/dX35dLdhXrK0E+ZDeI= 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) header.from= 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 1622536700634733.5188217015015; Tue, 1 Jun 2021 01:38:20 -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-570-hdxIuNk0PMqojRmmX6jnWQ-1; Tue, 01 Jun 2021 04:38:17 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 685E1BBEE4; Tue, 1 Jun 2021 08:38:12 +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 430055C661; Tue, 1 Jun 2021 08:38:12 +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 316691801265; Tue, 1 Jun 2021 08:38:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1518c6j3025930 for ; Tue, 1 Jun 2021 04:38:06 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4053B17A63; Tue, 1 Jun 2021 08:38:06 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.195.114]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9AC602C1A4 for ; Tue, 1 Jun 2021 08:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622536699; 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=fnJhmK69gDJdBfLdj5lElFu4ayhujOQE/7xBRIfdlxM=; b=Vbt2YOCXFtoTbfvbPgm0om6IhtRsZbPrtDZa4pihUK7bh0+ygg5wFgkFARy7+XHL4e2Dz7 x10Sl7JBtAGTiQcWoyhzwZov3Usl9oFHxLiPfcv0z3OU9DS/AZSgyxxadCHpLKWLbxKl/j LOyl/kJzdN8j2Cm4SAiFj/uWGR8Io0c= X-MC-Unique: hdxIuNk0PMqojRmmX6jnWQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 02/26] meson: Whitespace tweaks Date: Tue, 1 Jun 2021 10:37:33 +0200 Message-Id: <20210601083757.10194-3-abologna@redhat.com> In-Reply-To: <20210601083757.10194-1-abologna@redhat.com> References: <20210601083757.10194-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.16 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) Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- meson.build | 24 ++++++++++++------------ src/locking/meson.build | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/meson.build b/meson.build index 4f23f9104e..4d76e1f651 100644 --- a/meson.build +++ b/meson.build @@ -420,7 +420,7 @@ if get_option('warning_level') =3D=3D '2' if supported_cc_flags.contains('-Wlogical-op') # Broken in 6.0 and later # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69602 - w_logical_op_args =3D ['-O2', '-Wlogical-op', '-Werror'] + w_logical_op_args =3D [ '-O2', '-Wlogical-op', '-Werror' ] w_logical_op_code =3D ''' #define TEST1 1 #define TEST2 TEST1 @@ -436,7 +436,7 @@ if get_option('warning_level') =3D=3D '2' endif =20 # Check whether clang gives bogus warning for -Wdouble-promotion. - w_double_promotion_args =3D ['-O2', '-Wdouble-promotion', '-Werror'] + w_double_promotion_args =3D [ '-O2', '-Wdouble-promotion', '-Werror' ] w_double_promotion_code =3D ''' #include =20 @@ -446,12 +446,12 @@ if get_option('warning_level') =3D=3D '2' } ''' if cc.compiles(w_double_promotion_code, args: w_double_promotion_args, n= ame: '-Wdouble-promotion') - supported_cc_flags +=3D ['-Wdouble-promotion'] + supported_cc_flags +=3D [ '-Wdouble-promotion' ] endif =20 # Clang complains about unused static inline functions which are common # with G_DEFINE_AUTOPTR_CLEANUP_FUNC. - w_unused_function_args =3D ['-Wunused-function', '-Werror'] + w_unused_function_args =3D [ '-Wunused-function', '-Werror' ] w_unused_function_code =3D ''' static inline void foo(void) {} =20 @@ -459,7 +459,7 @@ if get_option('warning_level') =3D=3D '2' ''' # -Wunused-function is implied by -Wall, we must turn it off explicitly. if not cc.compiles(w_unused_function_code, args: w_unused_function_args) - supported_cc_flags +=3D ['-Wno-unused-function'] + supported_cc_flags +=3D [ '-Wno-unused-function' ] endif =20 endif @@ -794,9 +794,9 @@ required_programs =3D [ ] =20 required_programs_groups =3D [ - {'name':'rpcgen', 'prog':['rpcgen', 'portable-rpcgen']}, - {'name':'rst2html', 'prog':['rst2html5', 'rst2html5.py', 'rst2html5-3']}, - {'name':'rst2man', 'prog':['rst2man', 'rst2man.py', 'rst2man-3']}, + { 'name': 'rpcgen', 'prog': [ 'rpcgen', 'portable-rpcgen' ] }, + { 'name': 'rst2html', 'prog': [ 'rst2html5', 'rst2html5.py', 'rst2html5-= 3' ] }, + { 'name': 'rst2man', 'prog': [ 'rst2man', 'rst2man.py', 'rst2man-3' ] }, ] =20 if host_machine.system() =3D=3D 'freebsd' @@ -1060,7 +1060,7 @@ endif libxml_version =3D '2.9.1' libxml_dep =3D dependency('libxml-2.0', version: '>=3D' + libxml_version) =20 -libm_dep =3D cc.find_library('m', required : false) +libm_dep =3D cc.find_library('m', required: false) =20 netcf_version =3D '0.1.8' netcf_dep =3D dependency('netcf', version: '>=3D' + netcf_version, require= d: get_option('netcf')) @@ -1602,7 +1602,7 @@ if not get_option('driver_qemu').disabled() endif conf.set_quoted('QEMU_MODDIR', qemu_moddir) =20 - if host_machine.system() in ['freebsd', 'darwin'] + if host_machine.system() in [ 'freebsd', 'darwin' ] default_qemu_user =3D 'root' default_qemu_group =3D 'wheel' else @@ -1894,7 +1894,7 @@ if conf.has('WITH_LIBVIRTD') =20 if not get_option('storage_zfs').disabled() zfs_enable =3D true - foreach name : ['zfs', 'zpool'] + foreach name : [ 'zfs', 'zpool' ] set_variable( '@0@_prog'.format(name), find_program(name, required: get_option('storage_zfs'), dirs: libv= irt_sbin_path) @@ -1907,7 +1907,7 @@ if conf.has('WITH_LIBVIRTD') if zfs_enable use_storage =3D true conf.set('WITH_STORAGE_ZFS', 1) - foreach name : ['zfs', 'zpool'] + foreach name : [ 'zfs', 'zpool' ] conf.set_quoted(name.to_upper(), get_variable('@0@_prog'.format(na= me)).path()) endforeach endif diff --git a/src/locking/meson.build b/src/locking/meson.build index 8a28310e40..184d3c3f56 100644 --- a/src/locking/meson.build +++ b/src/locking/meson.build @@ -184,7 +184,7 @@ if conf.has('WITH_LIBVIRTD') virt_conf_files +=3D qemu_lockd_conf virt_test_aug_files +=3D { 'name': 'test_libvirt_lockd.aug', - 'aug' : files('test_libvirt_lockd.aug.in'), + 'aug': files('test_libvirt_lockd.aug.in'), 'conf': qemu_lockd_conf, 'test_name': 'libvirt_lockd', 'test_srcdir': meson.current_source_dir(), @@ -213,7 +213,7 @@ if conf.has('WITH_LIBVIRTD') virt_conf_files +=3D qemu_sanlock_conf virt_test_aug_files +=3D { 'name': 'test_libvirt_sanlock.aug', - 'aug' : files('test_libvirt_sanlock.aug.in'), + 'aug': files('test_libvirt_sanlock.aug.in'), 'conf': qemu_sanlock_conf, 'test_name': 'libvirt_sanlock', 'test_srcdir': meson.current_source_dir(), --=20 2.31.1