From: Andi Kleen Date: Thu, 30 Oct 2008 19:10:08 +0000 (+0000) Subject: sysfs: Fix return values for sysdev_store_{ulong, int} X-Git-Tag: v2.6.27.5~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6ac1ac96a384b213d65c28d9e3d62f74b0267e;p=pandora-kernel.git sysfs: Fix return values for sysdev_store_{ulong, int} commit 4e318d7c6c9dd5cdae48bcf61558bbc0c09b12ac upstream SYSFS: Fix return values for sysdev_store_{ulong,int} Always return the full size instead of the consumed length of the string in sysdev_store_{ulong,int} This avoids EINVAL errors in some echo versions. Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed