UPSTREAM: kasan: change report header
authorAndrey Konovalov <andreyknvl@google.com>
Wed, 3 May 2017 21:56:38 +0000 (14:56 -0700)
committerPaul Lawrence <paullawrence@google.com>
Thu, 14 Dec 2017 16:25:42 +0000 (08:25 -0800)
commita1dcc361b55edb4be1ecad247352703dea6318e3
tree14f863ac4b100436b7747394c95e49df003cf0ad
parent51f4ed70d2de1e7150fc028314bfd01d73b28997
UPSTREAM: kasan: change report header

Change report header format from:

  BUG: KASAN: use-after-free in unwind_get_return_address+0x28a/0x2c0 at addr ffff880069437950
  Read of size 8 by task insmod/3925

to:

  BUG: KASAN: use-after-free in unwind_get_return_address+0x28a/0x2c0
  Read of size 8 at addr ffff880069437950 by task insmod/3925

The exact access address is not usually important, so move it to the
second line.  This also makes the header look visually balanced.

Link: http://lkml.kernel.org/r/20170302134851.101218-6-andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Bug: 64145065
(cherry-picked from 7f0a84c23b1dede3e76a7b2ebbde45a506252005)
Change-Id: If9cacce637c317538d813b05ef2647707300d310
Signed-off-by: Paul Lawrence <paullawrence@google.com>
mm/kasan/report.c