mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@linaro.org>
To: "Ignacio Peña" <ignacio.pena87@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] staging: sm750fb: Fix const declaration for g_fbmode array
Date: Wed, 16 Jul 2025 07:18:23 +0300	[thread overview]
Message-ID: <d7f17f72-d086-4ab2-a22d-33f0ea125f54@suswa.mountain> (raw)
In-Reply-To: <20250716005553.52369-2-ignacio.pena87@gmail.com>

On Tue, Jul 15, 2025 at 08:55:51PM -0400, Ignacio Peña wrote:
> The g_fbmode array should be declared as const pointer to const
> string as its contents never change.

Try compiling this code.  The contents do change.

There are a few other issues as well.  Try running checkpatch on your
patch.  Also there is a specific format for v2 patches
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/

regards,
dan carpenter


  reply	other threads:[~2025-07-16  4:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16  0:55 [PATCH v2 0/3] staging: sm750fb: Fix checkpatch warnings in sm750.c Ignacio Peña
2025-07-16  0:55 ` [PATCH 1/3] staging: sm750fb: Fix const declaration for g_fbmode array Ignacio Peña
2025-07-16  4:18   ` Dan Carpenter [this message]
2025-07-16  0:55 ` [PATCH 2/3] staging: sm750fb: Fix function parameter alignment Ignacio Peña
2025-07-16  0:55 ` [PATCH 3/3] staging: sm750fb: Fix CamelCase variable naming Ignacio Peña

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=d7f17f72-d086-4ab2-a22d-33f0ea125f54@suswa.mountain \
    --to=dan.carpenter@linaro.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=ignacio.pena87@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®