All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PATCH 1/4] Clean up header guards that don't match their file name
Date: Mon, 09 May 2022 07:16:43 +0200	[thread overview]
Message-ID: <87fslje150.fsf@pond.sub.org> (raw)
In-Reply-To: <20220506134911.2856099-2-armbru@redhat.com> (Markus Armbruster's message of "Fri, 6 May 2022 15:49:08 +0200")

Markus Armbruster <armbru@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 <armbru@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+1Ugyq3xgGpC1a2wWy4jX_Q@mail.gmail.com>

[...]



  reply	other threads:[~2022-05-09  5:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06 13:49 [PATCH 0/4] Clean up header guards again Markus Armbruster
2022-05-06 13:49 ` [PATCH 1/4] Clean up header guards that don't match their file name Markus Armbruster
2022-05-09  5:16   ` Markus Armbruster [this message]
2022-05-06 13:49 ` [PATCH 2/4] Clean up ill-advised or unusual header guards Markus Armbruster
2022-05-06 13:49 ` [PATCH 3/4] Normalize header guard symbol definition Markus Armbruster
2022-05-06 13:49 ` [PATCH 4/4] Clean up decorations and whitespace around header guards Markus Armbruster
2022-05-07 11:25 ` [PATCH 0/4] Clean up header guards again Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fslje150.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.