All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: Clint George <clintbgeorge@gmail.com>
Cc: skhan@linuxfoundation.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org, david.hunter.linux@gmail.com,
	linux-kernel-mentees@lists.linux.dev, khalid@kernel.org
Subject: Re: [PATCH] kselftest/kublk: include message in _Static_assert for C11 compatibility
Date: Tue, 16 Dec 2025 18:15:11 +0800	[thread overview]
Message-ID: <aUExL6cvFqpgx52G@fedora> (raw)
In-Reply-To: <20251215085022.7642-1-clintbgeorge@gmail.com>

On Mon, Dec 15, 2025 at 02:20:22PM +0530, Clint George wrote:
> Add descriptive message in the _Static_assert to comply with the C11
> standard requirement to prevent compiler from throwing out error. The
> compiler throws an error when _Static_assert is used without a message as
> that is a C23 extension.
> 
> Signed-off-by: Clint George <clintbgeorge@gmail.com>
> ---
> 
> [] Testing:
> The diff between before and after of running the kselftest test of the
> module shows no regression on system with x86 architecture

Reviewed-by: Ming Lei <ming.lei@redhat.com>



Thanks,
Ming


      reply	other threads:[~2025-12-16 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-15  8:50 [PATCH] kselftest/kublk: include message in _Static_assert for C11 compatibility Clint George
2025-12-16 10:15 ` Ming Lei [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=aUExL6cvFqpgx52G@fedora \
    --to=ming.lei@redhat.com \
    --cc=clintbgeorge@gmail.com \
    --cc=david.hunter.linux@gmail.com \
    --cc=khalid@kernel.org \
    --cc=linux-kernel-mentees@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=skhan@linuxfoundation.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.