提交 125c5cc2 编写于 作者: F Frank Lichtenheld 提交者: David S. Miller

b43legacy: properly fix a bogus gcc warning

Use initialized_var() to properly fix a bogus gcc warning.
Signed-off-by: NStefano Brivio <stefano.brivio@polimi.it>
Cc: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 013978b6
......@@ -209,7 +209,7 @@ static ssize_t b43legacy_debugfs_read(struct file *file, char __user *userbuf,
struct b43legacy_wldev *dev;
struct b43legacy_debugfs_fops *dfops;
struct b43legacy_dfs_file *dfile;
ssize_t ret = 0;
ssize_t uninitialized_var(ret);
char *buf;
const size_t bufsize = 1024 * 128;
const size_t buforder = get_order(bufsize);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册