From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web12.8714.1651487687861988375 for ; Mon, 02 May 2022 03:34:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=honJ3JLB; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651487687; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FOnzMF8kUqpdmmRFmvRUJdOEJjsFuQtg4XuysZatZCY=; b=honJ3JLBOP3jWiNn7lsp2ba/uY8cwD1pYdwjbbmLx8TvbOUekNotTPWcZ+S1Adp2zGo8/u rrGpzNPuOr9M8e+tyGdb81FWEv7qkql588Ma6AfYvI/KuH5K7Pq7X++Upw35wS3Tw5ENnU ga9NQkkSAm/9u5wp8Yz1kMhzBlZMJbE= 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-90-8PPGnextOpeO76o5mQk4aw-1; Mon, 02 May 2022 06:34:44 -0400 X-MC-Unique: 8PPGnextOpeO76o5mQk4aw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8F9F41014A61; Mon, 2 May 2022 10:34:43 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.13]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5D5E8403D163; Mon, 2 May 2022 10:34:43 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A02F11800794; Mon, 2 May 2022 12:34:36 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Pawel Polawski , yi1.li@intel.com, Jiewen Yao , Oliver Steffen , Jian J Wang , Ard Biesheuvel , Guomin Jiang , Xiaoyu Lu , Jordan Justen , Gerd Hoffmann Subject: [PATCH 5/5] CryptoPkg/openssl: disable codestyle checks for generated files Date: Mon, 2 May 2022 12:34:36 +0200 Message-Id: <20220502103436.3274412-6-kraxel@redhat.com> In-Reply-To: <20220502103436.3274412-1-kraxel@redhat.com> References: <20220502103436.3274412-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true Files generated by process_files.pl from openssl sources should not be checked for edk2 code style. Signed-off-by: Gerd Hoffmann --- CryptoPkg/CryptoPkg.ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index 396ca93dbe49..09fba0bcc685 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -26,6 +26,8 @@ ## Both file path and directory path are accepted. "IgnoreFiles": [ "Library/OpensslLib/openssl", + "Library/Include/openssl", + "Library/Include/crypto", # The unit testing folder is not to be checked "Test/UnitTest", # This has OpenSSL interfaces that aren't UEFI spec compliant @@ -89,5 +91,13 @@ "ExtendWords": [], # words to extend to the dictionary for this package "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported) + }, + + # options defined in .pytool/Plugin/UncrustifyCheck + "UncrustifyCheck": { + "IgnoreFiles": [ + "opensslconf.h", + "dso_conf.h", + ] } } -- 2.35.1