linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-next@vger.kernel.org
Subject: Re: fix for "error: implicit declaration of function 'devres_alloc'" in Mar9 tree
Date: Sun, 11 Mar 2012 19:32:04 +0000	[thread overview]
Message-ID: <20120311193203.GB3171@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <CAP=VYLoSgAdL6VzJE_gG0mFbb+cAjsEiHGp6gbhMo6Zx4=3dbA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3914 bytes --]

On Sun, Mar 11, 2012 at 12:09:39PM -0400, Paul Gortmaker wrote:
> On Sun, Mar 11, 2012 at 8:48 AM, Mark Brown
> > On Fri, Mar 09, 2012 at 10:11:56AM -0500, Paul Gortmaker wrote:

> >> This is caused by commit 19694b5ea1d3 which just appeared in today's next
> >> tree exposing another implicit device.h user.  Just a quick note that I'll
> >> take care of it by adding regmap.c to the below commit.

> > relied on here.  You've gone and deleted that inclusion without CCing
> > the patch to the subsystem and now you're sending a fix again without a
> > CC to either me or the relevant list, and without even a mention in the
> > subject line.

> We are talking about a trivial fix here, and the deletion was one of about
> fifty similar one-line deletions in include/linux, of which many files don't
> even have clear owners.  So, while I can appreciate you wanting a CC,
> it just wasn't practical in this case in my opinion.

The above doesn't just apply to the original patch, it applies even more
strongly to the followup patch where none of the above issues apply.

Honestly I do think that if you made at least some effort to let
subsytem maintainers know about all this header reorganisation you're
doing you'd introduce a lot less breakage, it's hardly surprising that
people keep on developing with the headers they can see.

> > In order to avoid bisection breakage I've applied one of the several
> > fixes for this that were sent to me today, please drop your change.

> I don't see how this avoids any bisection breakage -- you've now introduced
> a dependency that wasn't there before -- i.e. I would have to make sure
> your change is present before my changes get pulled.  In any case I can
> just ensure I have the exact same change as you and it will make sure
> my series remains bisectable.

It will be fine, there's no dependency.  If regmap is merged first
there's obviously no issue as it doesn't have your header faffing in.
If regmap is merged second then the branch that gets pulled will have
Stephen's change applied to it before it gets Linus' tree so no commit
will exist where we've only got your commit which introduces the problem
and no fix.  On the other hand an incremental fix in your tree only
means that if your tree is merged second there will be at least one
commit which is broken.

This applies to any fixups for the fallout from your changes, except in
very rare circumstances adding the extra includes is always going to be
safe in any tree and this means that people working in the tree can see
what's going to be happening, making things less error prone.

> > This stuff would go a lot more smoothly if you were to at least let
> > people know when you make changes, especially when issues introduced by
> > your changes get noticed.

> I've worked to get at least three different regulator regression fixes in,
> None of those were related to any changes I made.  You were on the
> to/CC of those fixes, and I even made changes as you requested.  My
> point is that I do my best to follow implicit and explicit processes.  If
> you've somehow come to conclude otherwise, I'm sorry to hear that.

If you'd CCed me when you noticed the additional breakage from your
change or you'd written followups to the people submitting fixes
normally which said something like "This is due to more header
reorganisations I've done, I've fixed it on my branch see X for details"
things would've worked better.

As it is I was seeing fixes from people which made no sense given the
recent activity in the tree plus followups from you which had no content
other than links (which isn't good practice) to a message which itself
just references git changes things by hash (which is quite bad, commit
IDs aren't directly legible and can change) and had to faff around with
the logs to figure out what you'd done.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2012-03-11 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 15:11 fix for "error: implicit declaration of function 'devres_alloc'" in Mar9 tree Paul Gortmaker
2012-03-11 12:48 ` Mark Brown
2012-03-11 16:09   ` Paul Gortmaker
2012-03-11 19:32     ` Mark Brown [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=20120311193203.GB3171@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linux-next@vger.kernel.org \
    --cc=paul.gortmaker@windriver.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;
as well as URLs for NNTP newsgroup(s).