]> git.baikalelectronics.ru Git - kernel.git/commit
of: Drop properties with "/" in their name
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 19 May 2010 02:32:29 +0000 (02:32 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 14 Jun 2010 00:12:24 +0000 (18:12 -0600)
commit8ecf67c48274e578c7f1074174536ee85f7b3147
treea6ea761977c26adaada8e4b242832e1474cfbb58
parenta05552eb058caba6e4fae1ea274cb90883c6f8eb
of: Drop properties with "/" in their name

Some bogus firmwares include properties with "/" in their name. This
causes problems when creating the /proc/device-tree file system,
because the slash is taken to indicate a directory.

We don't care about those properties, and we don't want to encourage
them, so just throw them away when creating /proc/device-tree.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Tested-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
fs/proc/proc_devtree.c