From: Danny Baumann Date: Fri, 2 Nov 2007 12:47:53 +0000 (+0100) Subject: ACPI: Video: Increase buffer size for writes to brightness proc file. X-Git-Tag: v2.6.24-rc4~107^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c88c5786d3df51ccfa4e2d111fc9c8fc0f5b2797;p=pandora-kernel.git ACPI: Video: Increase buffer size for writes to brightness proc file. In order to be able to write the value "100" to /proc/acpi/video/.../brightness, we have to allocate 5 bytes: 4 characters will be written (1, 0, 0 plus null byte), and 1 byte should be buffer for a terminating NULL character. http://bugzilla.kernel.org/show_bug.cgi?id=9278 Signed-off-by: Danny Baumann Acked-by: Zhang Rui Signed-off-by: Len Brown --- Reading git-diff-tree failed