From: "André Almeida" <andrealmeid@igalia.com>
To: Vasileios Almpanis <vasilisalmpanis@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Darren Hart <dvhart@infradead.org>,
Davidlohr Bueso <dave@stgolabs.net>,
linux-kernel@vger.kernel.org, Thomas Gleixner <tglx@kernel.org>,
Ingo Molnar <mingo@redhat.com>
Subject: Re: [PATCH 1/1] futex: remove unnecessary NULL check before kvfree()
Date: Wed, 1 Jul 2026 09:36:55 -0300 [thread overview]
Message-ID: <02df60de-2f8a-439e-81d3-650113ccbcfe@igalia.com> (raw)
In-Reply-To: <20260630133530.2577832-1-vasilisalmpanis@gmail.com>
Em 30/06/2026 10:35, Vasileios Almpanis escreveu:
> NULL check before kvfree() is unnecessary and triggers a Coccinelle
> warning, since kvfree() handles NULL arguments internally.
>
> Reported by ifnullfree.cocci Coccinelle semantic patch script.
>
> Signed-off-by: Vasileios Almpanis <vasilisalmpanis@gmail.com>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
next prev parent reply other threads:[~2026-07-01 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 13:35 Vasileios Almpanis
2026-07-01 12:36 ` André Almeida [this message]
2026-07-05 12:54 ` [tip: locking/futex] futex: Remove " tip-bot2 for Vasileios Almpanis
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=02df60de-2f8a-439e-81d3-650113ccbcfe@igalia.com \
--to=andrealmeid@igalia.com \
--cc=dave@stgolabs.net \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=tglx@kernel.org \
--cc=vasilisalmpanis@gmail.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
Powered by JetHome