Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Bernard Metzler <BMT@zurich.ibm.com>,
	Jason Gunthorpe <jgg@nvidia.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: Re: [PATCH v3] RDMA/siw: Pass a pointer to virt_to_page()
Date: Mon, 5 Sep 2022 20:19:44 +0300	[thread overview]
Message-ID: <YxYvsO086ga2rP55@unreal> (raw)
In-Reply-To: <CACRpkdYRvncv=CL_Jrsy5enTvaOeMpwCG+ssq17J_=2xrg0mWQ@mail.gmail.com>

On Mon, Sep 05, 2022 at 02:07:34PM +0200, Linus Walleij wrote:
> On Mon, Sep 5, 2022 at 2:02 PM Bernard Metzler <BMT@zurich.ibm.com> wrote:
> 
> > Can we easily fix the two line wraps introduced by this
> > patch? Without sending an explicit patch on top --
> 
> Yeah Lean can just augment it when applying.

I already promoted that patch to non-rebasable for-next.

> 
> > I'd
> > suggest adding just two line breaks to it. I'd be happy
> > to see siw code continues to adhere to the 80 char's
> > per line style.
> 
> You will be fighting an uphill battle since checkpatch (which is
> what we use to check syntax) now accepts 100 chars/line.
> commit bdc48fa11e46f867ea4d75fa59ee87a7f48be144
> "checkpatch/coding-style: deprecate 80-column warning"
> 
> If there is infiniband consensus to stay with 80 chars per
> line, you should send a patch to checkpatch so that it
> warns for this for patches to drivers/rdma.

It is not infiniband specific, many other subsystems and reviewers
continue to use 80-char limit.

The change to checkpatch came after Linus said that authors should
use their best judgment while dealing with line lengths. Unfortunately,
it was vague enough to apply it to checkpatch.

We continue to use 80 char limit, because clang formatter continues
to wrap everything to 80 chars.

Thanks

> 
> Yours,
> Linus Walleij

      reply	other threads:[~2022-09-05 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 12:02 Re: [PATCH v3] RDMA/siw: Pass a pointer to virt_to_page() Bernard Metzler
2022-09-05 12:07 ` Linus Walleij
2022-09-05 17:19   ` Leon Romanovsky [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=YxYvsO086ga2rP55@unreal \
    --to=leon@kernel.org \
    --cc=BMT@zurich.ibm.com \
    --cc=jgg@nvidia.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-rdma@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox