+ drivers-base-platformc-dont-mark-platform_device_register_resndata-as-__init_or_module.patch added to -mm tree
Hello,
[added some people involved in the thread
http://thread.gmane.org/gmane.linux.ports.ppc.embedded/41996 to Cc:]
Quoted 23 lines · On Wed, May 18, 2011 at 02:57:36PM -0700, [email protected] wrote:
The patch titled
drivers/base/platform.c: don't markplatform_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.patchBefore 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/SubmitChecklistwhen 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 markplatform_device_register_resndata()as__init_or_module
From: Andrew Morton <[email protected]>
Quoted 6 lines
This reverts
737a3bb9416ce2a7c7a4("Driver core: move platform device creation helpers to .init.text (if MODULE=n)"). That patch assumed thatplatform_device_register_resndata()is only ever called from__initcode but that isn't true in the caseioctl->drm_ioctl->radeon_cp_init().
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
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
Quoted 1 line · On Thu, 19 May 2011 08:21:36 +0200 Uwe Kleine-König…
I'm not sure that the things that
radeon_cp_initdoes are sane.
Some more details here might help someone fix it.
Quoted 4 lines
Maybe
add a comment that it is the only known stopper to makeplatform_device_register_resndata__init_or_moduleand a similar comment toplatform_device_register_resndataitself?
Send patch :)
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable