public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: Sundar Nagarajan <sun.nagarajan@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Florian Fainelli <f.fainelli@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org
Subject: Re: NET_DSA_SJA1105 config declaration: tristate is not indented
Date: Mon, 15 May 2023 23:14:58 +0300	[thread overview]
Message-ID: <20230515201458.kkbli7fmqtkvb5ju@skbuf> (raw)
In-Reply-To: <CALnajPCaJfR+N=vP0R6bXoUwMbopQK6JsJ+pXxS=T6KT5NXswg@mail.gmail.com>

Hello,

On Fri, May 12, 2023 at 02:38:44PM -0700, Sundar Nagarajan wrote:
> diff --git a/drivers/net/dsa/sja1105/Kconfig b/drivers/net/dsa/sja1105/Kconfig
> index 1291bba3f..63c9b049f 100644
> --- a/drivers/net/dsa/sja1105/Kconfig
> +++ b/drivers/net/dsa/sja1105/Kconfig
> @@ -1,6 +1,6 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  config NET_DSA_SJA1105
> -tristate "NXP SJA1105 Ethernet switch family support"
> + tristate "NXP SJA1105 Ethernet switch family support"
>   depends on NET_DSA && SPI
>   depends on PTP_1588_CLOCK_OPTIONAL
>   select NET_DSA_TAG_SJA1105

Thank you for your contribution. It has the following problems:

- the context has been mangled by your email client, replacing tabs with
  spaces, so the patch does not apply. I recommend that you use git
  send-email for sending patches.

- patches to netdev must always be formatted against the most recent
  main branches of net.git or net-next.git trees (depending on whether
  they are bug fixes impacting users or just general refactoring/new
  features), and your intention to target one tree or the other must be
  made through the --subject-prefix "PATCH vN net" or "PATCH vN
  net-next" option. Look at other messages in the archive for a hint:
  https://lore.kernel.org/netdev/

- it lacks the "Developer's Certificate of Origin" (the signed-off tag
  generated by "git commit -s").

- it lacks a proper prefix for the commit title indicating the area of
  the code. A better commit title would have been: "net: dsa: sja1105:
  NET_DSA_SJA1105 tristate text is not indented"

- a good commit body (the part after the one-line title) contains:
  1. Context
  2. Problem
  3. Solution
  Yours is empty. The scripts/checkpatch.pl tool should warn about this,
  if you run it.

I would recommend reading a bit what's in the Documentation/process/
folder before resubmitting a v2, I may have missed some finer aspects.

      reply	other threads:[~2023-05-15 20:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12 21:38 NET_DSA_SJA1105 config declaration: tristate is not indented Sundar Nagarajan
2023-05-15 20:14 ` Vladimir Oltean [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=20230515201458.kkbli7fmqtkvb5ju@skbuf \
    --to=olteanv@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sun.nagarajan@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