All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v3 2/4] bpf: Add map_array helper functions/macro and constify
Date: Wed, 5 May 2021 16:59:24 +0200	[thread overview]
Message-ID: <YJKyzGfV/PlEWWlL@yuki> (raw)
In-Reply-To: <20210505091623.29121-3-rpalethorpe@suse.com>

Hi!
> +	const int ret = bpf(BPF_MAP_LOOKUP_ELEM, &elem_attr, sizeof(elem_attr));
> +
> +        if (ret) {

Fixed these spaces wrongly used for indentation.

> +		tst_brk(TBROK | TTERRNO,
> +			"Failed array map lookup: [%"PRIu32, *array_indx);

And also this message. There was missing ] at the end of the string and
I've also added the fd=%i to the message as well.

And pushed along with the rest of the patchset, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2021-05-05 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-05  9:16 [LTP] [PATCH v3 0/4] BPF refactor and add bpf_prog05 Richard Palethorpe
2021-05-05  9:16 ` [LTP] [PATCH v3 1/4] lapi/bpf: Add /= and %= Richard Palethorpe
2021-05-05  9:16 ` [LTP] [PATCH v3 2/4] bpf: Add map_array helper functions/macro and constify Richard Palethorpe
2021-05-05 14:59   ` Cyril Hrubis [this message]
2021-05-05  9:16 ` [LTP] [PATCH v3 3/4] bpf: Add helper to run socket programs Richard Palethorpe
2021-05-05  9:16 ` [LTP] [PATCH v3 4/4] bpf: Check truncation on 32bit div/mod by zero Richard Palethorpe
2021-05-05 14:57   ` Cyril Hrubis

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=YJKyzGfV/PlEWWlL@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /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.