From: Peter Gruber Date: Tue, 28 Oct 2008 03:59:36 +0000 (-0400) Subject: ACPI: avoid empty file name in sysfs X-Git-Tag: v2.6.28-rc5~77^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4feba70a2c1a1a0c96909f657f48b2e11e682370;p=pandora-kernel.git ACPI: avoid empty file name in sysfs Since commit bc45b1d39a925b56796bebf8a397a0491489d85c acpi tables are allowed to have an empty signature and /sys/firmware/acpi/tables uses the signature as filename. Applications using naive recursion through /sys loop forever. A possible solution would be: (replacing the zero length filename with the string "NULL") http://bugzilla.kernel.org/show_bug.cgi?id=11539 Acked-by: Zhang Rui Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed