linux-bl808/drivers/base
Dan Carpenter 2ca30331c1 PM / QoS: return -EINVAL for bogus strings
In the current code, if the user accidentally writes a bogus command to
this sysfs file, then we set the latency tolerance to an uninitialized
variable.

Fixes: 2d984ad132 (PM / QoS: Introcuce latency tolerance device PM QoS type)
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: 3.15+ <stable@vger.kernel.org> # 3.15+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-07-12 14:42:37 +02:00
..
power PM / QoS: return -EINVAL for bogus strings 2017-07-12 14:42:37 +02:00
regmap
test
attribute_container.c
base.h
bus.c
cacheinfo.c
class.c
component.c
container.c
core.c driver core: don't initialize 'parent' in device_add() 2017-04-08 18:27:39 +02:00
cpu.c
dd.c of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices 2017-04-20 16:31:06 +02:00
devcoredump.c
devres.c
devtmpfs.c statx: Add a system call to make enhanced file info available 2017-03-02 20:51:15 -05:00
dma-coherent.c
dma-contiguous.c cma: Store a name in the cma structure 2017-04-18 20:41:12 +02:00
dma-mapping.c IOMMU Updates for Linux v4.12 2017-05-09 15:15:47 -07:00
driver.c
firmware.c
firmware_class.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c memory-hotplug: use dev_online for memhp_auto_online 2017-02-24 17:46:56 -08:00
module.c
node.c
pinctrl.c
platform-msi.c platform-msi: Make platform_msi_create_device_domain() ACPI aware 2017-04-07 10:52:19 +01:00
platform.c of: Add function for generating a DT modalias with a newline 2017-03-22 14:56:13 -05:00
property.c device property: Read strings using string array reading functions 2017-03-29 22:59:40 +02:00
soc.c base: soc: Allow early registration of a single SoC device 2017-03-29 21:43:26 +02:00
syscore.c
topology.c
transport_class.c