From: Zhang Rui Date: Fri, 8 Feb 2008 12:18:29 +0000 (-0800) Subject: proc: detect duplicate names on registration X-Git-Tag: v2.6.25-rc1~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94413d8807a3c511a3675be4ce27a4d16d6408ee;p=pandora-kernel.git proc: detect duplicate names on registration Print a warning if PDE is registered with a name which already exists in target directory. Bug report and a simple fix can be found here: http://bugzilla.kernel.org/show_bug.cgi?id=8798 [\n fixlet and no undescriptive variable usage --adobriyan] [akpm@linux-foundation.org: make printk comprehensible] Signed-off-by: Zhang Rui Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed