mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, pavel@suse.cz,
	Andy Whitcroft <apw@shadowen.org>,
	mingo@elte.hu, linux-pm@lists.linux-foundation.org
Subject: Re: [linux-pm] [PATCH] add a printk_init variant storing format strings in	__initdata
Date: Wed, 04 Jun 2008 10:17:59 +0100	[thread overview]
Message-ID: <1212571079.4042.66.camel@shinybook.infradead.org> (raw)
In-Reply-To: <1212570622.14371.19.camel@johannes.berg>

On Wed, 2008-06-04 at 11:10 +0200, Johannes Berg wrote:
> On Wed, 2008-06-04 at 09:59 +0100, David Woodhouse wrote:
> > On Wed, 2008-06-04 at 01:16 -0700, Andrew Morton wrote:
> > > We're going to want to be able to call printk_init() from modules. 
> > > Please fix and test that, if we decide to proceed.
> > 
> > Can we fix that by making it an alias for printk in the module case?
> > 
> > The only reason we need it to be __init is so that we get the section
> > warnings when you use it from non-init code, right? Won't we get the
> > warning when non-init code refers to the string in initdata anyway?
> 
> In fact, wasn't the warning Andy showed such a warning?

Hm, yes it was. Why do we need __printk_init() to be anything other than
an alias for printk, then?

-- 
dwmw2


  reply	other threads:[~2008-06-04  9:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 20:33 [patch 2.6.26-rc4-git] PM: boot time suspend selftest David Brownell
2008-05-29 21:01 ` Rafael J. Wysocki
2008-05-29 21:26   ` David Brownell
2008-05-29 21:29     ` Rafael J. Wysocki
2008-05-29 23:06       ` Andrew Morton
2008-05-30  4:34         ` David Brownell
2008-05-29 23:22 ` Andrew Morton
2008-05-30 10:59   ` Ingo Molnar
2008-05-30 19:04     ` Andrew Morton
2008-06-03  9:27   ` [PATCH] add a printk_init variant storing format strings in __initdata Andy Whitcroft
2008-06-03 16:41     ` Johannes Weiner
2008-06-03 17:49     ` [linux-pm] " Johannes Berg
2008-06-04  8:16     ` Andrew Morton
2008-06-04  8:32       ` MinChan Kim
2008-06-04  8:59       ` David Woodhouse
2008-06-04  9:10         ` [linux-pm] " Johannes Berg
2008-06-04  9:17           ` David Woodhouse [this message]
2008-06-04 10:51             ` Johannes Berg
2008-06-04 11:43       ` Alan Cox
2008-06-04  8:56     ` David Woodhouse
2008-06-03 10:45   ` [patch 2.6.26-rc4-git] PM: boot time suspend selftest Andy Whitcroft
2008-07-07  4:12   ` David Brownell
2008-07-23  8:19 ` Andrew Morton

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=1212571079.4042.66.camel@shinybook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=apw@shadowen.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mingo@elte.hu \
    --cc=pavel@suse.cz \
    /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

all inboxes | Powered by JetHome®