[alsa-devel] [PATCH] sound/isa: kill pnp_resource_change.

Thomas Renninger trenn at suse.de
Fri Nov 30 18:39:47 CET 2007


On Fri, 2007-11-30 at 18:19 +0100, Rene Herman wrote:
> On 30-11-07 14:32, Jaroslav Kysela wrote:
> 
> > Anyway, it's true that ISA PnP stuff is quite obsolete current days. If
> > manual settings is supported and described, I've no objections to reduce
> > code, too.
> 
> Okay. I've just submitted a further upadet to ALSA-Configuration.txt and 
> I'll look into being a bit more verbose about how to set resources in 
> Documentation/pnp.txt and possibly defer users from ALSA-Configuration.txt 
> there.
> 
> Thomas Renninger is making some haste with the deprecation of the removed 
> functions by the way -- I just saw a patch of his entering my mailbox where 
> he says he'd in fact like them deprecated in 2.6.24 already. The ALSA 
> removal would not seem likely to be scheduled to go to 2.6.24 yet, so I 
> guess that won't do?
> 
> I have no opinion on the schedule -- but Thomas, if you do, I guess you'd 
> need to convince Jaroslav to withstand The Wrath Of Linus and ask him to 
> push it. We can't have it deprecated (on the "spew warnings" level) with 
> ALSA still using them in 2.6.24.

Why not?
The intend of __deprecated is to throw some compile warnings?
In this case it would warn on the official 2.6.24 on functions which are
known to be reverted already for the next cycle (this should not hurt?),
it's more for drivers building against kernel headers getting noticed as
soon as possible...

If this is not added to 2.6.24, the funcs should live there for another
kernel cycle just to not print some irrelevant warnings at compile time
things are slowed down...

   Thomas

This is also in vanilla and lives there for some time?:
kernel/power/pm.c:205: warning: ‘pm_register’ is deprecated (declared at kernel/power/pm.c:64)
kernel/power/pm.c:205: warning: ‘pm_register’ is deprecated (declared at kernel/power/pm.c:64)
kernel/power/pm.c:206: warning: ‘pm_send_all’ is deprecated (declared at kernel/power/pm.c:180)
kernel/power/pm.c:206: warning: ‘pm_send_all’ is deprecated (declared at kernel/power/pm.c:180)

and there were hundreds of pci_find_bus_...() or similar marked
deprecated warnings some time ago (I doubt this was a suse kernel
modification)...



More information about the Alsa-devel mailing list