提交 9dda727d 编写于 作者: T Torsten Duwe 提交者: Theodore Ts'o

hw_random: fix sparse warning (NULL vs 0 for pointer)

Signed-off-by: NTorsten Duwe <duwe@suse.de>
Signed-off-by: NTheodore Ts'o <tytso@mit.edu>
上级 ee3e00e9
......@@ -344,7 +344,7 @@ static int hwrng_fillfn(void *unused)
add_hwgenerator_randomness((void *)rng_fillbuf, rc,
(rc*current_quality)>>10);
}
hwrng_fill = 0;
hwrng_fill = NULL;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册