提交 9fc20528 编写于 作者: V Vivi Li 提交者: Mike Frysinger

Blackfin: kgdb_test: make sure to initialize num2

We check its value at runtime, so we want to avoid garbage across runs.
Signed-off-by: NVivi Li <vivi.li@analog.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 b68233e7
......@@ -95,6 +95,10 @@ static int __init kgdbtest_init(void)
{
struct proc_dir_entry *entry;
#if L2_LENGTH
num2 = 0;
#endif
entry = proc_create("kgdbtest", 0, NULL, &kgdb_test_proc_fops);
if (entry == NULL)
return -ENOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册