Markus Armbruster <arm...@redhat.com> writes:

> Header guard symbols should match their file name to make guard
> collisions less likely.
>
> Cleaned up with scripts/clean-header-guards.pl, followed by some
> renaming of new guard symbols picked by the script to better ones.
>
> Signed-off-by: Markus Armbruster <arm...@redhat.com>
[...]
> diff --git a/ebpf/rss.bpf.skeleton.h b/ebpf/rss.bpf.skeleton.h
> index 126683eb87..4bca5d223a 100644
> --- a/ebpf/rss.bpf.skeleton.h
> +++ b/ebpf/rss.bpf.skeleton.h
> @@ -1,8 +1,9 @@
>  /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
>  
>  /* THIS FILE IS AUTOGENERATED! */
> -#ifndef __RSS_BPF_SKEL_H__
> -#define __RSS_BPF_SKEL_H__
> +
> +#ifndef EBPF_RSS_BPF_SKELETON_H
> +#define EBPF_RSS_BPF_SKELETON_H
>  
>  #include <stdlib.h>
>  #include <bpf/libbpf.h>
> @@ -428,4 +429,4 @@ err:
>       return -1;
>  }
>  
> -#endif /* __RSS_BPF_SKEL_H__ */
> +#endif /* EBPF_RSS_BPF_SKELETON_H */

Dropping this one because it's actually generated from
tools/ebpf/rss.bpf.c.  See

    https://lists.nongnu.org/archive/html/qemu-devel/2022-05/msg01392.html
    Message-ID: 
<CACGkMEvoug0H10H+4=7yjb7uyrk+1ugyq3xggpc1a2wwy4j...@mail.gmail.com>

[...]


Reply via email to