android_kernel_xiaomi_sm8350/drivers/base
Andi Kleen 4e318d7c6c sysfs: Fix return values for sysdev_store_{ulong,int}
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 <ak@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-10-29 15:03:49 -07:00
..
power Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 2008-10-16 12:40:26 -07:00
attribute_container.c SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00
base.h driver-core: use klist for class device list and implement iterator 2008-10-09 08:56:04 +02:00
bus.c Driver core: add bus_sort_breadthfirst() function 2008-10-16 09:24:52 -07:00
class.c driver-core: use klist for class device list and implement iterator 2008-10-09 08:56:04 +02:00
core.c kobject: Fix kobject_rename and !CONFIG_SYSFS 2008-10-16 09:24:52 -07:00
cpu.c Merge branch 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-23 18:37:44 -07:00
dd.c device model: Do a quickcheck for driver binding before doing an expensive check 2008-10-16 09:24:50 -07:00
devres.c
dma-mapping.c
driver.c drivers/base/driver.c: remove unused to_dev() macro 2008-08-21 10:15:35 -07:00
firmware_class.c firmware: use dev_printk when possible 2008-10-16 11:21:47 -07:00
firmware.c
hypervisor.c
init.c Driver core: coding style fixes 2008-01-24 22:50:12 -08:00
isa.c isa: set 24-bit dma_mask for ISA devices 2008-07-26 12:00:02 -07:00
Kconfig Fix typo in the FIRMWARE_IN_KERNEL help 2008-10-16 11:21:32 -07:00
Makefile Merge branch 'dmapool' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc 2008-02-05 19:05:48 -08:00
map.c
memory.c memory_probe: fix wrong sysfs file attribute 2008-10-20 08:52:32 -07:00
module.c
node.c vmscan: unevictable LRU scan sysctl 2008-10-20 08:52:31 -07:00
platform.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 2008-10-16 12:40:26 -07:00
sys.c sysfs: Fix return values for sysdev_store_{ulong,int} 2008-10-29 15:03:49 -07:00
topology.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
transport_class.c SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00