of: avoid format string parsing in kobject names
authorKees Cook <keescook@chromium.org>
Tue, 10 Jun 2014 16:57:00 +0000 (09:57 -0700)
committerRob Herring <robh@kernel.org>
Mon, 16 Jun 2014 18:31:44 +0000 (13:31 -0500)
commit28d3ee40ef5ad488f4ad3376d8f237b9502cecfb
treec6346191a1c86abfe2d454e9ecc0beaebb020ad4
parente1319ea5db6dee48b7fa3a5822c3940dc649ee6a
of: avoid format string parsing in kobject names

This makes sure a format string cannot leak into the kobject name that
is constructed. (And splits the >80 character line.)

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c