[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEf4Bzbs5m6Pt4VZC8LBj5Cnw1--cgMRcR1vqOOTVi1o9yKoqg@mail.gmail.com>
Date: Fri, 16 Jun 2023 09:36:30 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: baomingtong001@...suo.com
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...ux.dev, song@...nel.org, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, sdf@...gle.com,
haoluo@...gle.com, jolsa@...nel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] libbpf: zip: Remove unneeded semicolon from zip_archive_open()
On Wed, Jun 14, 2023 at 1:29 AM <baomingtong001@...suo.com> wrote:
>
> ./tools/lib/bpf/zip.c:226:2-3: Unneeded semicolon
This is not a very human-readable commit message. Something like
Drop unnecessary semicolon, which triggers (presumable coccicheck?) warning:
./tools/lib/bpf/zip.c:226:2-3: Unneeded semicolon
But also this doesn't apply cleanly to bpf-next tree. Please rebase
and resend. Also make sure to have [PATCH bpf-next] prefix in email
subject. Thanks.
>
> Signed-off-by: Mingtong Bao <baomingtong001@...suo.com>
> ---
> tools/lib/bpf/zip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/lib/bpf/zip.c b/tools/lib/bpf/zip.c
> index 3f26d629b2b4..88c376a8348d 100644
> --- a/tools/lib/bpf/zip.c
> +++ b/tools/lib/bpf/zip.c
> @@ -223,7 +223,7 @@ struct zip_archive *zip_archive_open(const char
> *path)
> if (!archive) {
> munmap(data, size);
> return ERR_PTR(-ENOMEM);
> - };
> + }
>
> archive->data = data;
> archive->size = size;
Powered by blists - more mailing lists