Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Brownell <david-b@...>
Cc: <linux-kernel@...>, <linux-pm@...>, <mingo@...>, <pavel@...>
Date: Thursday, May 29, 2008 - 7:22 pm

On Thu, 29 May 2008 13:33:41 -0700
David Brownell <david-b@pacbell.net> wrote:


abs()


Can it really take a negative amount of time?  If so, this message will
convert that to a positive duration.

Confused.


We should have a comment here explaining what we're warning about.  Why
would it take more that five seconds?

Better might be to just add a nice printk - I don't think we need the
stack trace here.


- One tab before the variable space is a waste of space.  Two tabs is
  just extravagant.

- The space before the [] shouldn't be there.  checkpatch misses this.

- This way of defining printk control strings is weird, and will (I
  assume) defeat gcc printk arg checking.

  I _assume_ it was done so that the strings could be moved into
  .init.data, thus saving a few bytes at runtime?

  I wonder if that's a good tradeoff.  It would be nice to teach gcc
  how to do this, but that sounds improbable.


I don't think I ever knew what __force does, and whoever added it
forgot to comment it.

<googles>

<finds http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-09/4078.html>

<can't work out why it is used here>


whinny.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2.6.26-rc4-git] PM: boot time suspend selftest, David Brownell, (Thu May 29, 4:33 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Andrew Morton, (Wed Jul 23, 4:19 am)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Andrew Morton, (Thu May 29, 7:22 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, David Brownell, (Mon Jul 7, 12:12 am)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Andy Whitcroft, (Tue Jun 3, 6:45 am)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Andrew Morton, (Fri May 30, 3:04 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Rafael J. Wysocki, (Thu May 29, 5:01 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, David Brownell, (Thu May 29, 5:26 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Rafael J. Wysocki, (Thu May 29, 5:29 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, Andrew Morton, (Thu May 29, 7:06 pm)
Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest, David Brownell, (Fri May 30, 12:34 am)