Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e72b9da0 authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman
Browse files

staging: xillybus: fix format string usage



Makes sure format string cannot leak into device_create() call.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 82f5e5ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2054,7 +2054,7 @@ static int xillybus_init_chrdev(struct xilly_endpoint *endpoint,
				       NULL,
				       MKDEV(major, i),
				       NULL,
				       devname);
				       "%s", devname);

		if (IS_ERR(device)) {
			pr_warn("xillybus: Failed to create %s "