From: Arjan van de Ven Date: Tue, 6 Jan 2009 22:40:54 +0000 (-0800) Subject: oops: increment the oops UUID every time we oops X-Git-Tag: v3.12-rc1~16673 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6624f996ae539344e8d748cce1117ae7af06fbf;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/panic.c b/kernel/panic.c index 13f0634..2a2ff36 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; }