summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-01-06 23:40:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:12 +0100
commitd6624f996ae539344e8d748cce1117ae7af06fbf (patch)
tree0ad5d6f26fdac9a7d75c0bbce12e74ae2d1edeba /kernel
parentstrict_strto* is not strict enough (diff)
downloadlinux-d6624f996ae539344e8d748cce1117ae7af06fbf.tar.xz
linux-d6624f996ae539344e8d748cce1117ae7af06fbf.zip
oops: increment the oops UUID every time we oops
... because we do want repeated same-oops to be seen by automated tools like kerneloops.org Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/panic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 13f06349a786..2a2ff36ff44d 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -299,6 +299,8 @@ static int init_oops_id(void)
{
if (!oops_id)
get_random_bytes(&oops_id, sizeof(oops_id));
+ else
+ oops_id++;
return 0;
}