mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Benjamin Coddington" <bcodding@redhat.com>
To: "Javier Abrego Lorente" <javier.abrego.lorente@gmail.com>
Cc: trond.myklebust@hammerspace.com, anna@kernel.org,
	linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nfs: removed goto statement
Date: Fri, 20 May 2022 08:41:26 -0400	[thread overview]
Message-ID: <B70C3673-8CBF-414D-9D8A-BAD4F30FA9D9@redhat.com> (raw)
In-Reply-To: <CAPsi6X+M11NttnV80dYhA=0t=ZGH1YR1ZGssEZvz+kN8RYTcbw@mail.gmail.com>

On 20 May 2022, at 8:00, Javier Abrego Lorente wrote:

> final version, I promise.

Javier, please read "7) Centralized exiting of functions" in
Documentation/process/coding-style.rst.  The maintainers are unlikely to
take this patch because it doesn't (my opinion) improve the readability, and
removing a goto isn't a valid reason on its own.  The use of goto is an
acceptable practice in the linux kernel for some patterns.

Ben


  reply	other threads:[~2022-05-20 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 11:57 [PATCH] FS: " Javier Abrego
2022-05-20 12:00 ` Javier Abrego Lorente
2022-05-20 12:41   ` Benjamin Coddington [this message]
2022-05-20 22:44     ` [PATCH] " Javier Abrego Lorente
  -- strict thread matches above, loose matches on Subject: below --
2022-05-20  8:50 [PATCH] FS: " Javier Abrego
2022-05-20 11:04 ` [PATCH] " Benjamin Coddington

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=B70C3673-8CBF-414D-9D8A-BAD4F30FA9D9@redhat.com \
    --to=bcodding@redhat.com \
    --cc=anna@kernel.org \
    --cc=javier.abrego.lorente@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@hammerspace.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

all inboxes | Powered by JetHome®