Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Tobias Waldekranz <tobias@waldekranz.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/kmemd: needs headers >= 5.14
Date: Sun, 30 Oct 2022 15:03:18 +0100	[thread overview]
Message-ID: <20221030150318.45f4f1af@windsurf> (raw)
In-Reply-To: <20221030125358.387628-1-fontaine.fabrice@gmail.com>

On Sun, 30 Oct 2022 13:53:58 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> kmemd unconditionally uses BPF_PSEUDO_MAP_IDX_VALUE which is only
> available since kernel 5.14 and
> https://github.com/torvalds/linux/commit/387544bfa291a22383d60b40f887360e2b931ec6
> resulting in the following build failure since the addition of the
> package in commit b3f915c6561bcb2f7952faca3bedf1766f299538:
> 
> kmem.c:36:17: error: 'BPF_PSEUDO_MAP_IDX_VALUE' undeclared here (not in a function); did you mean 'BPF_PSEUDO_MAP_VALUE'?
>    36 |                 BPF_PSEUDO_MAP_IDX_VALUE, 0, _idx       \
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/dcd7e6321d64746b8b867fa3f32095d1180a40fc
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/kmemd/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-10-30 14:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-30 12:53 [Buildroot] [PATCH 1/1] package/kmemd: needs headers >= 5.14 Fabrice Fontaine
2022-10-30 14:03 ` Thomas Petazzoni via buildroot [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=20221030150318.45f4f1af@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tobias@waldekranz.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox