From nobody Sun Feb 8 14:31:27 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=1629382591; cv=none; d=zohomail.com; s=zohoarc; b=huwVkJXghNxuk1pGzBX+bR+AsrtAYrF5Io261uOxP94AvvhCbN983PP+2QZcPzGuWMENP0+qwsyHDw82TkaqvPHDKGmUPld6LhGI3otX2L7YsmLz1Pc9e311B5TUaMV9HxYetsVfI/BnZ5PYot4alsyjuV8/MaHAINlAdjazqc4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629382591; 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=3L6OhHettDVug8N5PC4fPdLsH+e82tqunc5FyerGi0I=; b=U46h4c2q0jRRJdRbyAgE4HtNUrf1XPRPSrKNTF8afckZqbz3s8qrLVESN4GR2iBVIGGwTE84hHa+JAx44u2RlRI/uhmV8V/9V8eRPDOKYpqSYGX6dhv52jOP5z9H6KEJiJ/LDaR5p7fDMAF4vNWM7J+LFY9hKh1TH2xZloJm+e8= 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) 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 1629382591298297.56846048607815; Thu, 19 Aug 2021 07:16:31 -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-31-pVTweq5gNPG5FDRpJMkTLA-1; Thu, 19 Aug 2021 10:16:28 -0400 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 ADAAB760CA; Thu, 19 Aug 2021 14:16:22 +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 8A3B1104F6; Thu, 19 Aug 2021 14:16:22 +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 537DA181A1D3; Thu, 19 Aug 2021 14:16:22 +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 17JECdXA015669 for ; Thu, 19 Aug 2021 10:12:39 -0400 Received: by smtp.corp.redhat.com (Postfix) id E5FD31A26A; Thu, 19 Aug 2021 14:12:39 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A4261970F for ; Thu, 19 Aug 2021 14:12:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629382590; 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=3L6OhHettDVug8N5PC4fPdLsH+e82tqunc5FyerGi0I=; b=Q5IZ5Ea9oEG3gJ3SneB6CDPU4jCsJzq+vtuW7ckPo+g+dNo5ikfdJg7E0QbX8wL2mFZvp7 zPw35h8FgcyfQUAO5A96dsvsNRzIu7vm2YcBjkckDjpHSRMNKl/byjwrGTX6NChRSTFtXh PHBDrylm2grVVtbf69SDe3zggYu4PnI= X-MC-Unique: pVTweq5gNPG5FDRpJMkTLA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/5] syntax-check: use VC_LIST_EXCEPT instead of VC_LIST Date: Thu, 19 Aug 2021 16:12:29 +0200 Message-Id: <9a3e03b729b4c92a9acfb94b19217c7d5bd76ddf.1629381994.git.jtomko@redhat.com> In-Reply-To: References: 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.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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1629382593574100001 Three callers were using VC_LIST directly. This is not wrong, because they exclude the always-excluded files by only looking for C and/or header files. But using VC_LIST here prevents switching it to outputting relative paths. Signed-off-by: J=C3=A1n Tomko --- build-aux/syntax-check.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index e523c0bf3f..307255c300 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1689,16 +1689,16 @@ sc_prohibit-duplicate-header: $(PYTHON) $(top_srcdir)/scripts/prohibit-duplicate-header.py =20 sc_spacing-check: - $(AM_V_GEN)$(VC_LIST) | $(GREP) '\.c$$' | xargs \ + $(AM_V_GEN)$(VC_LIST_EXCEPT) | $(GREP) '\.c$$' | xargs \ $(PERL) $(top_srcdir)/build-aux/check-spacing.pl || \ { echo '$(ME): incorrect formatting' 1>&2; exit 1; } =20 sc_mock-noinline: - $(AM_V_GEN)$(VC_LIST) | $(GREP) '\.[ch]$$' | $(RUNUTF8) xargs \ + $(AM_V_GEN)$(VC_LIST_EXCEPT) | $(GREP) '\.[ch]$$' | $(RUNUTF8) xargs \ $(PYTHON) $(top_srcdir)/scripts/mock-noinline.py =20 sc_header-ifdef: - $(AM_V_GEN)$(VC_LIST) | $(GREP) '\.[h]$$' | $(RUNUTF8) xargs \ + $(AM_V_GEN)$(VC_LIST_EXCEPT) | $(GREP) '\.[h]$$' | $(RUNUTF8) xargs \ $(PYTHON) $(top_srcdir)/scripts/header-ifdef.py =20 sc_group-qemu-caps: --=20 2.31.1