提交 0721357d 编写于 作者: J Jon Smirl 提交者: Benjamin Herrenschmidt

of: Format string bug in drivers/of/of_i2c.c

Format string bug.  Not exploitable, as this is only writable by root,
but worth fixing all the same.

See 326f6a5cSigned-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 a4292d7a
......@@ -41,7 +41,7 @@ void of_register_i2c_devices(struct i2c_adapter *adap,
info.addr = *addr;
request_module(info.type);
request_module("%s", info.type);
result = i2c_new_device(adap, &info);
if (result == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册