aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/misc/lkdtm/usercopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/lkdtm/usercopy.c b/drivers/misc/lkdtm/usercopy.c
index 9725aed305bb..d8157b8d78c2 100644
--- a/drivers/misc/lkdtm/usercopy.c
+++ b/drivers/misc/lkdtm/usercopy.c
@@ -18,7 +18,7 @@
18 * hardened usercopy checks by added "unconst" to all the const copies, 18 * hardened usercopy checks by added "unconst" to all the const copies,
19 * and making sure "cache_size" isn't optimized into a const. 19 * and making sure "cache_size" isn't optimized into a const.
20 */ 20 */
21static volatile size_t unconst = 0; 21static volatile size_t unconst;
22static volatile size_t cache_size = 1024; 22static volatile size_t cache_size = 1024;
23static struct kmem_cache *whitelist_cache; 23static struct kmem_cache *whitelist_cache;
24 24