diff options
author | Peter Gruber <nokos@gmx.net> | 2008-10-27 23:59:36 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-11-06 22:09:52 -0500 |
commit | 4feba70a2c1a1a0c96909f657f48b2e11e682370 (patch) | |
tree | 7b00f31b9ccabfb73ba78f3b3dc92cee3a29b3d1 /drivers/rtc/rtc-dev.c | |
parent | 49fdf6785fd660e18a1eb4588928f47e9fa29a9a (diff) | |
download | linux-3.10-4feba70a2c1a1a0c96909f657f48b2e11e682370.tar.gz linux-3.10-4feba70a2c1a1a0c96909f657f48b2e11e682370.tar.bz2 linux-3.10-4feba70a2c1a1a0c96909f657f48b2e11e682370.zip |
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 <rui.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
0 files changed, 0 insertions, 0 deletions