Exclude ebpf/rss.bpf.skeleton.h, because it's generated from
tools/ebpf/rss.bpf.c.

Exclude include/hw/xen/interface/, because these headers were imported
from Xen.

Exclude tests/tracetool/, because these headers are tracetool
reference output.

Signed-off-by: Markus Armbruster <[email protected]>
---
 scripts/clean-header-guards.pl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/clean-header-guards.pl b/scripts/clean-header-guards.pl
index a7fd8dc99f..06ecff55af 100755
--- a/scripts/clean-header-guards.pl
+++ b/scripts/clean-header-guards.pl
@@ -32,8 +32,9 @@ use warnings;
 use Getopt::Std;
 
 # Stuff we don't want to clean because we import it into our tree:
-my $exclude = qr,^(include/standard-headers/|linux-headers/
-    |pc-bios/|tests/tcg/|tests/multiboot/),x;
+my $exclude = qr,^(ebpf/rss.bpf\.skeleton\.h$|include/standard-headers/
+    |include/hw/xen/interface/|linux-headers/|pc-bios/|tests/tcg/
+    |tests/multiboot/|tests/tracetool/),x;
 # Stuff that is expected to fail the preprocessing test:
 my $exclude_cpp = qr,^include/libdecnumber/decNumberLocal.h,;
 
-- 
2.52.0


Reply via email to