From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: akpm@linux-foundation.org
Cc: mm-commits@vger.kernel.org, "Greg KH" <greg@kroah.com>,
"Michel Dänzer" <michel@daenzer.net>,
gregkh@suse.de, dri-devel@lists.freedesktop.org,
blueness@gentoo.org, "Gabriel Paubert" <paubert@iram.es>,
stable@kernel.org
Subject: Re: + drivers-base-platformc-dont-mark-platform_device_register_resndata-as-__init_or_module.patch added to -mm tree
Date: Thu, 19 May 2011 08:21:36 +0200 [thread overview]
Message-ID: <20110519062136.GA8297@pengutronix.de> (raw)
In-Reply-To: <201105182157.p4ILvaJn026575@imap1.linux-foundation.org>
Hello,
[added some people involved in the thread
http://thread.gmane.org/gmane.linux.ports.ppc.embedded/41996 to Cc:]
On Wed, May 18, 2011 at 02:57:36PM -0700, akpm@linux-foundation.org wrote:
>
> The patch titled
> drivers/base/platform.c: don't mark platform_device_register_resndata() as __init_or_module
> has been added to the -mm tree. Its filename is
> drivers-base-platformc-dont-mark-platform_device_register_resndata-as-__init_or_module.patch
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>
> See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
> out what to do about this
>
> The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
>
> ------------------------------------------------------
> Subject: drivers/base/platform.c: don't mark platform_device_register_resndata() as __init_or_module
> From: Andrew Morton <akpm@linux-foundation.org>
>
> This reverts 737a3bb9416ce2a7c7a4 ("Driver core: move platform device
> creation helpers to .init.text (if MODULE=n)"). That patch assumed that
> platform_device_register_resndata() is only ever called from __init code
> but that isn't true in the case ioctl->drm_ioctl->radeon_cp_init().
>
> Addresses https://bugzilla.kernel.org/show_bug.cgi?id=35192
I'm not sure that the things that radeon_cp_init does are sane. Maybe
add a comment that it is the only known stopper to make
platform_device_register_resndata __init_or_module and a similar comment
to platform_device_register_resndata itself?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next parent reply other threads:[~2011-05-19 6:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201105182157.p4ILvaJn026575@imap1.linux-foundation.org>
2011-05-19 6:21 ` Uwe Kleine-König [this message]
2011-05-19 6:26 ` + drivers-base-platformc-dont-mark-platform_device_register_resndata-as-__init_or_module.patch added to -mm tree Andrew Morton
2011-05-18 21:57 akpm
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=20110519062136.GA8297@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=akpm@linux-foundation.org \
--cc=blueness@gentoo.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=greg@kroah.com \
--cc=gregkh@suse.de \
--cc=michel@daenzer.net \
--cc=mm-commits@vger.kernel.org \
--cc=paubert@iram.es \
--cc=stable@kernel.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 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.