提交 0181cfd9 编写于 作者: P Parth Y Shah 提交者: Greg Kroah-Hartman

misc: lkdtm: fixed static variable initialization

Resolved "ERROR: do not initialise statics to 0"
Signed-off-by: NParth Y Shah <sparth1292@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 02b04d23
......@@ -18,7 +18,7 @@
* hardened usercopy checks by added "unconst" to all the const copies,
* and making sure "cache_size" isn't optimized into a const.
*/
static volatile size_t unconst = 0;
static volatile size_t unconst;
static volatile size_t cache_size = 1024;
static struct kmem_cache *whitelist_cache;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册