All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trent Piepho <tpiepho@impinj.com>
To: "lorenzo.pieralisi@arm.com" <lorenzo.pieralisi@arm.com>
Cc: "Joao.Pinto@synopsys.com" <Joao.Pinto@synopsys.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"bhelgaas@google.com" <bhelgaas@google.com>
Subject: Re: [PATCH v2] PCI: imx6: Check for link training status in link up check
Date: Fri, 2 Nov 2018 00:23:12 +0000	[thread overview]
Message-ID: <1541118191.30311.206.camel@impinj.com> (raw)
In-Reply-To: <20181101135530.GA8020@e107981-ln.cambridge.arm.com>

On Thu, 2018-11-01 at 13:55 +0000, Lorenzo Pieralisi wrote:
> On Wed, Oct 31, 2018 at 07:49:59PM +0000, Trent Piepho wrote:
> > This fixes a regression introduced in merge 562df5c8521e.
> 
> A merge being a commits collection, the regression was certainly
> introduced by a specific commit in it, not the merge itself.

In this case it really is merge commit.

While the problem and fix are relatively obvious, finding how it came
to be broken was a challenge.  Most of the commit message is my proof
that this is a bug and not something done intentionally, by tracking
back the complicated route that caused the code to be in its current
state.

Basically there are two commits, on both branches of the merge, neither
of which caused a problem nor were they incorrect in any way at the
time they were committed.  When that merge combined this collection of
multiple commits, it did not do so correctly and that is the point a
bug appeared.

Or put another way, this problem was already fixed some time ago, but
in the merge commit the fix was dropped.

It seems like the proper way to attribute my fix is to the merge, as
that is what caused the regression.  There is no prior commit where one
can observe the regression.

> Also for the Fixes: tag and all references.

Would it be ok to refer to the commit this way the first time, then use
a shortened method for subsequent usages?  Otherwise talking about two
commits becomes very long.  This it what I have mostly done, other than
the "Fixes" line.  I'm surprised checkpatch didn't catch that.

  reply	other threads:[~2018-11-02  0:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31 19:49 [PATCH v2] PCI: imx6: Check for link training status in link up check Trent Piepho
2018-11-01 13:55 ` Lorenzo Pieralisi
2018-11-02  0:23   ` Trent Piepho [this message]
2018-11-02 12:21     ` Lorenzo Pieralisi
2018-11-02 14:57       ` Bjorn Helgaas

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=1541118191.30311.206.camel@impinj.com \
    --to=tpiepho@impinj.com \
    --cc=Joao.Pinto@synopsys.com \
    --cc=bhelgaas@google.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.