aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/panic.c')
-rw-r--r--kernel/panic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 3a0b0898690a..33cab3de1763 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -302,6 +302,8 @@ static int init_oops_id(void)
302{ 302{
303 if (!oops_id) 303 if (!oops_id)
304 get_random_bytes(&oops_id, sizeof(oops_id)); 304 get_random_bytes(&oops_id, sizeof(oops_id));
305 else
306 oops_id++;
305 307
306 return 0; 308 return 0;
307} 309}