ACPI / property: avoid leaking format string into kobject name
authorKees Cook <keescook@chromium.org>
Thu, 7 Jan 2016 19:24:29 +0000 (11:24 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 Jan 2016 00:01:41 +0000 (01:01 +0100)
commit9db22d928ca92629f0deb18efed265c4b7c2aa5e
treed7a6433d74fd21a5d528ef205e97ab9e85fc9e67
parent168309855a7d1e16db751e9c647119fe2d2dc878
ACPI / property: avoid leaking format string into kobject name

The dn->name is expected to be used as a literal, so add the missing
"%s".

Fixes: 263b4c1a64bc (ACPI / property: Expose data-only subnodes via sysfs)
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_sysfs.c