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)
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

Simple merge