linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-acpi <linux-acpi@vger.kernel.org>,
	Linux PM list <linux-pm@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [GIT PULL] ACPI & Power Management Patches for Linux-3.5-merge
Date: Sat, 02 Jun 2012 23:01:05 -0400	[thread overview]
Message-ID: <4FCAD371.6080205@kernel.org> (raw)
In-Reply-To: <CA+55aFyGqZnVvd5-ZLUkS=EE72QG1FqempZrs+vBLyCkWP6T_Q@mail.gmail.com>

On 06/02/2012 07:51 PM, Linus Torvalds wrote:

> On Fri, Jun 1, 2012 at 11:32 PM, Len Brown <lenb@kernel.org> wrote:
>>
>> ps. Sorry for sending this request at the tails of the merge window --
>> I'll try to be earlier next time.
> 
> Christ, not only is it after I really wanted to do -rc1 (held up by
> the tty locking problems), but it doesn't even compile.
> 
> Find the bug (the compiler certainly did):
> 
> static inline int acpi_pm_device_sleep_state(struct device *d, int *p, int m)
> {
>         if (p)
>                 *p = ACPI_STATE_D0;
>         return (m >= ACPI_STATE_D0 && <= ACPI_STATE_D3) ? m : ACPI_STATE_D0;
> }
> 
> and no, it wasn't a merge error. That's what it looks like in your tree.

>

> The commit was done yesterday. It clearly had *zero* testing.

Hmm.

This hunk is in the CONFIG_PM=n case.

Of the several hundred x86_64 and i386 kernels I build
before sending you a pull request, only two do not have CONFIG_PM=y --
x86_64 allnoconfig and i386 allnoconfig.
Like the other kernels, those build fine.

I'm curious what config and compiler tripped on this for you.

> Looking more at the pull as a result of this, I notice that almost
> every commit in that tree is from yesterday, and thus cleary cannot
> have been in -next.


Yes, I did check in Ying's patch this week, and a few others.

But a bunch of the patches have been in linux-next for some time.

I know you'd prefer patches to live in the tree frozen at the
date that they were 1st checked in, but that doesn't work well
when patches change.  To update a patch in a series I need to re-base.
Yes, I could re-base in place -- in the context of an rc
that nobody anywhere (including me) will ever build or boot.
Or I could re-base up to the latest release boundary which
a lot of people (including me) will test.  In this case
I think I re-based everything up to 3.4.

> I was going to just fix up the obvious one-liner

> fixup, but looking at the bigger picture I'm going to say "3.6
> material" for this whole thing.


It would be sad for a simple, though embarrassing,
issue with this patch to delay the other patches.

-Len

  reply	other threads:[~2012-06-03  3:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-02  6:32 [GIT PULL] ACPI & Power Management Patches for Linux-3.5-merge Len Brown
2012-06-02 23:51 ` Linus Torvalds
2012-06-03  3:01   ` Len Brown [this message]
2012-06-04  0:03   ` Rafael J. Wysocki
2012-06-04  8:53 ` Zhang Rui
  -- strict thread matches above, loose matches on Subject: below --
2012-06-03  3:12 Sedat Dilek

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=4FCAD371.6080205@kernel.org \
    --to=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).