Linux kernel staging patches
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: pdsj2807@gmail.com
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: gdm724x: make DEVICE_STRING array const
Date: Thu, 15 Oct 2026 11:46:37 +0200	[thread overview]
Message-ID: <2026101520-repulsion-husband-6704@gregkh> (raw)
In-Reply-To: <20261015093128.1004956-1-pdsj2807@gmail.com>

On Thu, Oct 15, 2026 at 03:01:25PM +0530, pdsj2807@gmail.com wrote:
> From: Palak Raval <pdsj2807@gmail.com>
> 
> The DEVICE_STRING array contains pointers to string literals and is
> never modified.
> 
> Declare it as 'const char * const' to improve const correctness and
> prevent accidental modification. Also fix minor formatting issues
> reported by checkpatch.

Please only do one logical thing per patch.

thanks,

greg k-h

  reply	other threads:[~2026-10-15  9:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15  9:31 [PATCH] staging: gdm724x: make DEVICE_STRING array const pdsj2807
2026-10-15  9:46 ` Greg KH [this message]
2026-10-15 12:18 ` [PATCH v2] " pdsj2807

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=2026101520-repulsion-husband-6704@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=pdsj2807@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