Re: [2.6 patch] scsi/qlogicpti.c section fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Bottomley <James.Bottomley@...>
Cc: Adrian Bunk <bunk@...>, <davem@...>, <linux-scsi@...>, <linux-kernel@...>
Date: Wednesday, January 30, 2008 - 5:20 pm

On Wed, Jan 30, 2008 at 03:00:16PM -0600, James Bottomley wrote:
We now at last have some infrastructure that does proper consistency
check of the use of annotation.
So it is by no means getting out-of-hands..

To my understanding Adrian just fixed a potential oops.
You have a driver that surely are thought to be hotplugable -
otherwise qpti_sbus_probe() would not have been annotated __devinit.
And had it ever been hotplugged then you had called a function in
a __init section that was long gone.

For the embedded people a few kb here and there is worth it.

Again - savings when we build-in the drivers.
And without the checks we see 'funny' linker errors on the architectues
that can continue to add the .exit.text in /DISCARD/

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

Messages in current thread:
[2.6 patch] scsi/qlogicpti.c section fixes, Adrian Bunk, (Wed Jan 30, 4:03 pm)
Re: [2.6 patch] scsi/qlogicpti.c section fixes, James Bottomley, (Wed Jan 30, 5:00 pm)
Re: [2.6 patch] scsi/qlogicpti.c section fixes, Adrian Bunk, (Wed Jan 30, 6:28 pm)
Re: [2.6 patch] scsi/qlogicpti.c section fixes, Sam Ravnborg, (Wed Jan 30, 5:20 pm)
Re: [2.6 patch] scsi/qlogicpti.c section fixes, James Bottomley, (Wed Jan 30, 5:41 pm)
Value of __*{init,exit} anotations?, Adrian Bunk, (Wed Jan 30, 6:32 pm)
Re: Value of __*{init,exit} anotations?, Sam Ravnborg, (Thu Jan 31, 3:44 am)
[PATCH] kill hotplug init/exit section annotations, James Bottomley, (Thu Jan 31, 11:57 am)
Re: [PATCH] kill hotplug init/exit section annotations, Arjan van de Ven, (Thu Jan 31, 12:11 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Adrian Bunk, (Thu Jan 31, 12:21 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Arjan van de Ven, (Thu Jan 31, 1:07 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Adrian Bunk, (Thu Jan 31, 1:14 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Arjan van de Ven, (Thu Jan 31, 1:48 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Sam Ravnborg, (Thu Jan 31, 2:34 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Arjan van de Ven, (Thu Jan 31, 2:48 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Sam Ravnborg, (Thu Jan 31, 3:41 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Chris Wedgwood, (Thu Jan 31, 1:45 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Adrian Bunk, (Thu Jan 31, 1:55 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Chris Wedgwood, (Thu Jan 31, 2:32 pm)
Re: [PATCH] kill hotplug init/exit section annotations, Geert Uytterhoeven, (Thu Jan 31, 2:52 pm)
Re: Value of __*{init,exit} anotations?, Andi Kleen, (Thu Jan 31, 1:42 am)
Re: Value of __*{init,exit} anotations?, James Bottomley, (Wed Jan 30, 6:44 pm)
Re: Value of __*{init,exit} anotations?, Russell King, (Wed Jan 30, 6:50 pm)
Re: [2.6 patch] scsi/qlogicpti.c section fixes, Sam Ravnborg, (Wed Jan 30, 6:00 pm)
Re: [2.6 patch] scsi/qlogicpti.c section fixes, Adrian Bunk, (Wed Jan 30, 5:30 pm)