From: Kees Cook Date: Thu, 6 Jun 2013 20:52:19 +0000 (-0700) Subject: kobject: sanitize argument for format string X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~74^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7165ebbf0898bad9aaeddfa22b918e94ed90e07;p=pandora-kernel.git kobject: sanitize argument for format string Unlike kobject_set_name(), the kset_create_and_add() interface does not provide a way to use format strings, so make sure that the interface cannot be abused accidentally. It looks like all current callers use static strings, so there's no existing flaw. Signed-off-by: Kees Cook Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed