All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: netfilter-devel@vger.kernel.org
Subject: Re: [iptables PATCH] include: linux: Update kernel.h
Date: Thu, 14 Sep 2023 12:36:50 +0200	[thread overview]
Message-ID: <ZQLiQmtGoihFOYaM@orbyte.nwl.cc> (raw)
In-Reply-To: <20230906170807.23100-1-phil@nwl.cc>

On Wed, Sep 06, 2023 at 07:08:07PM +0200, Phil Sutter wrote:
> Its contents were moved into const.h and sysinfo.h, apply these changes
> to the cached copies. Fixes for the following warning when compiling
> xtables-monitor.c with new kernel headers in /usr/include:
> 
> | In file included from ../include/linux/netfilter/x_tables.h:3,
> |                  from ../include/xtables.h:19,
> |                  from xtables-monitor.c:36:
> | ../include/linux/kernel.h:7: warning: "__ALIGN_KERNEL" redefined
> |     7 | #define __ALIGN_KERNEL(x, a)            __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
> |       |
> | In file included from /usr/include/linux/netlink.h:5,
> |                  from /home/n0-1/git/libmnl/install/include/libmnl/libmnl.h:9,
> |                  from xtables-monitor.c:30:
> | /usr/include/linux/const.h:31: note: this is the location of the previous definition
> |    31 | #define __ALIGN_KERNEL(x, a)            __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
> |       |
> 
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Patch applied.

      reply	other threads:[~2023-09-14 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-06 17:08 [iptables PATCH] include: linux: Update kernel.h Phil Sutter
2023-09-14 10:36 ` Phil Sutter [this message]

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=ZQLiQmtGoihFOYaM@orbyte.nwl.cc \
    --to=phil@nwl.cc \
    --cc=netfilter-devel@vger.kernel.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.