Messages in this thread | | | Date | Tue, 19 Nov 2002 20:01:47 +0100 | From | Adrian Bunk <> | Subject | Re: Dead & Dying interfaces |
| |
On Mon, Nov 18, 2002 at 05:55:35PM +0000, Dave Jones wrote: > On Fri, Nov 15, 2002 at 06:47:25PM +0000, Matthew Wilcox wrote: > > > This list is a combination of interfaces which have gone during 2.5 and > > interfaces that should go during 2.7. Think of it as a `updating your > > driver/filesystem to sane code' guide. > > Adding printk (KERN_DEBUG "Usage of check_region() is deprecated"); > to such interfaces may be an idea. For some of them, however it > is probably a bad idea if the logs get flooded with zillions of warnings > each boot. Maybe just for the "We really should purge this crap next > time" functions ?
What about a #warning? With a #warning everyone compiling this code sees that there's something that needs updating but it doesn't flood the logs of users (#warning was already used for linux/malloc.h in 2.4).
> Dave
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |