From nobody Tue May 13 18:25:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1530481452854669.1077206935004; Sun, 1 Jul 2018 14:44:12 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E92C381105; Sun, 1 Jul 2018 21:44:10 +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 93A2E600C9; Sun, 1 Jul 2018 21:44:10 +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 4E8B818037EC; Sun, 1 Jul 2018 21:44:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w61Li6pu009009 for ; Sun, 1 Jul 2018 17:44:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id EDEA25C6C1; Sun, 1 Jul 2018 21:44:06 +0000 (UTC) Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E56515C545 for ; Sun, 1 Jul 2018 21:44:06 +0000 (UTC) Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D813185546 for ; Sun, 1 Jul 2018 21:43:55 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id u16-v6so6534408pfh.3 for ; Sun, 01 Jul 2018 14:43:55 -0700 (PDT) Received: from centos.localdomain ([157.37.164.55]) by smtp.gmail.com with ESMTPSA id v68-v6sm15006933pfv.143.2018.07.01.14.43.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 14:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=+bGnPugs5Umedbsr2UGRntkvXutsGVXUVwSKuFbZQAI=; b=pUAEH9MWDIIg3DZfplgR6AvLFHs411KzPsDs00POWW2tAFKJuEdk1FjaMuzSJRnVaA sRUEC+VSmL2+cAxfnx8WyVOyw4qzSWy8Q4FX2i/ucaOLYCZjVlHsDk3Ws3qaczgpN+pb OQwO9BBinMqnSzitF1NrWls0TX0fMgF7bLpGsoB+qbbYpSRGQFwFOmsrTG6gKgfAZT/9 C2Sp1cOqKoCeXiVyaIoY9aEjz9zB/nzGpKSOrqyJN+8Uoin9GzC8akjYGB1tGVqUoA67 MeE6IVxfbT8tzys1LVizpgo4usWM8jjLGyBokYCv4xxVE+2kUSNndpoY88gVcSCuMJzR Duzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+bGnPugs5Umedbsr2UGRntkvXutsGVXUVwSKuFbZQAI=; b=NDtxuPiHTourSGqTAHYgLYN925MGlifWE7cdobR68FTqOq0NEIoNd4UKU5xKMGGUnB 3OzysbyYo55YdAKmQmOJ7t1jlcOfGhoS4AwoduSt1pANlLiSgAyEhqrvH1mfpnJd8/Sm x5ya3/rYIFyFkad43voc5+dEO/+u9yh0RSWLf2aL3nsdAvcUzBrfjRggt5Vj0jpshvuD v4oTrliv+v6ZdVBvVqO79oP7dOTKLLoNhPN/dmjEZdvJuG6URqTJrmPI2VdTMBGuKSmL XRDNHnhcjuOXuRvwF0wZml7tpcgB1DbdTYI7JALJuHb4AVJEQPZZevFarJPmvglztaqy QsxQ== X-Gm-Message-State: APt69E1EWxVvrK8rdM+85RPSTNUOvagwZC/tvexrW8fUO6qq1SAHw7wx IuFFf895jvaQ3tuJUrP3cAVLhoyZ X-Google-Smtp-Source: AAOMgpdRIKiJ3cbV5LjTps76lCcG3zy1Rd2zuO8zkdQ9uo/GFDrLpNjq1yjxtxYXdKLS3TY06zSUZQ== X-Received: by 2002:a62:db05:: with SMTP id f5-v6mr22548389pfg.123.1530481435105; Sun, 01 Jul 2018 14:43:55 -0700 (PDT) From: Sukrit Bhatnagar To: libvir-list@redhat.com Date: Sat, 30 Jun 2018 14:30:07 +0530 Message-Id: <1530349239-22049-4-git-send-email-skrtbhtngr@gmail.com> In-Reply-To: <1530349239-22049-1-git-send-email-skrtbhtngr@gmail.com> References: <1530349239-22049-1-git-send-email-skrtbhtngr@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Sun, 01 Jul 2018 21:43:55 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Sun, 01 Jul 2018 21:43:55 +0000 (UTC) for IP:'209.85.192.195' DOMAIN:'mail-pf0-f195.google.com' HELO:'mail-pf0-f195.google.com' FROM:'skrtbhtngr@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.785 * (DATE_IN_PAST_24_48, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS, T_DKIM_INVALID) 209.85.192.195 mail-pf0-f195.google.com 209.85.192.195 mail-pf0-f195.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v3 03/35] cfg.mk: correct spacing between type and asterisk in VIR_AUTOFREE 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Sun, 01 Jul 2018 21:44:11 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add rule to ensure that there is exactly one blank space between the type name and the asterisk when passed as the argument to the VIR_AUTOFREE macro. Signed-off-by: Sukrit Bhatnagar --- cfg.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cfg.mk b/cfg.mk index 196d1b2..d9e90d5 100644 --- a/cfg.mk +++ b/cfg.mk @@ -1068,6 +1068,15 @@ sc_require_attribute_cleanup_initialization: halt=3D'variable declared with a cleanup macro must be initialized' \ $(_sc_search_regexp) =20 +# Rule to ensure that there is exactly one blank space between the +# type name and the asterisk charcater when passed as the argument +# to VIR_AUTOFREE. +sc_require_attribute_cleanup_scalar_type_space: + @prohibit=3D'VIR_AUTOFREE\([^ ]+(| {2,})\*\) .*;' \ + in_vc_files=3D'\.[chx]$$' \ + halt=3D'there must be exactly one space between the type and asterisk = inside VIR_AUTOFREE' \ + $(_sc_search_regexp) + # We don't use this feature of maint.mk. prev_version_file =3D /dev/null =20 --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list