Files
linux/drivers/base
Dan Carpenter c17f651246 PM / QoS: return -EINVAL for bogus strings
commit 2ca30331c1 upstream.

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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-21 07:44:59 +02:00
..
2015-09-17 06:06:54 -07:00
2014-07-04 18:05:05 +01:00
2017-07-21 07:44:58 +02:00
2015-10-04 19:42:22 +01:00
2014-09-01 13:48:59 +02:00