OpenCloudOS-Kernel/drivers/powercap
Srinivas Pandruvada 08ff4cbe10 PowerCap: Fix build error with option -Werror=format-security
Fix compile error with gcc option: -Werror=format-security for
dev_set_name(&control_type->dev, name).

Changed to dev_set_name(&control_type->dev, "%s", name).

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-11-05 02:36:57 +01:00
..
Kconfig PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
Makefile PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
intel_rapl.c PowerCap: Introduce Intel RAPL power capping driver 2013-10-18 13:29:52 +02:00
powercap_sys.c PowerCap: Fix build error with option -Werror=format-security 2013-11-05 02:36:57 +01:00