Re: [PATCH] mips: namespace pollution: dump_regs() -> elf_dump_regs()

From: Al Viro
Date: Mon Dec 19 2005 - 11:06:20 EST


On Mon, Dec 19, 2005 at 12:07:09PM +0000, Maciej W. Rozycki wrote:
> On Fri, 16 Dec 2005, Al Viro wrote:
>
> > dump_regs() is used by a bunch of drivers for their internal stuff;
> > renamed mips instance (one that is seen in system-wide headers)
> > to elf_dump_regs()
>
> I guess drivers should be fixed not to use generic names in the first
> place -> s/dump_regs/frobnicator_dump_regs/, etc.

No. If nothing else, it's far less work to keep the headers reasonably
clean than to slap prefices on every damn static-in-file function
out there. Leads to more readable code in drivers, too...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/